VirtualBox

Changeset 1764 in kBuild for trunk


Ignore:
Timestamp:
Sep 7, 2008 6:11:36 PM (16 years ago)
Author:
bird
Message:

qt3: not everyeone has qm2ts (debian), so look for moc in places other than /usr/[local/]bin.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/units/qt3.kmk

    r1763 r1764  
    11# $Id$
    22## @file
    3 # Qt 3 unit.
     3# Qt 3.3.x unit.
    44#
    55
     
    6868        /usr/lib64/qt-3.3/bin/qm2ts \
    6969        /usr/qt/3/bin/qm2ts \
    70         $(QTDIR)/bin/qm2ts \
     70        $(if $(QTDIR),$(QTDIR)/bin/qm2ts) \
    7171        /usr/bin/qm2ts \
    7272        /usr/local/bin/qm2ts \
    7373        /usr/share/qt3/bin/qm2ts \
    7474        )))
     75    ifeq ($(PATH_SDK_QT3),) # Try with moc, but not in /usr/bin and /usr/local/bin.
     76     PATH_SDK_QT3 := $(patsubst %/bin/moc,%,$(firstword $(wildcard \
     77        /usr/lib/qt-3.3/bin/moc \
     78        /usr/lib64/qt-3.3/bin/moc \
     79        /usr/qt/3/bin/moc \
     80        /usr/share/qt3/bin/moc \
     81        $(if $(QTDIR),$(QTDIR)/bin/moc) \
     82        )))
     83    endif
    7584    ifneq ($(PATH_SDK_QT3),)
    7685     ifeq ($(PATH_SDK_QT3_INC),)
     
    167176 ifeq ($(PATH_TOOL_QT3),)
    168177  PATH_TOOL_QT3 := $(patsubst %/bin/qm2ts,%,$(firstword $(wildcard \
    169         /usr/lib/qt-3.3/bin/qm2ts \
    170         /usr/lib64/qt-3.3/bin/qm2ts \
    171         /usr/qt/3/bin/qm2ts \
    172         $(QTDIR)/bin/qm2ts \
    173         /usr/bin/qm2ts \
    174         /usr/local/bin/qm2ts \
    175         /usr/share/qt3/bin/qm2ts \
    176         )))
     178        /usr/lib/qt-3.3/bin/qm2ts \
     179        /usr/lib64/qt-3.3/bin/qm2ts \
     180        /usr/qt/3/bin/qm2ts \
     181        $(if $(QTDIR),$(QTDIR)/bin/qm2ts) \
     182        /usr/bin/qm2ts \
     183        /usr/local/bin/qm2ts \
     184        /usr/share/qt3/bin/qm2ts \
     185        )))
     186  ifeq ($(PATH_SDK_QT3),) # Try with moc, but not in /usr/bin and /usr/local/bin.
     187   PATH_TOOL_QT3 := $(patsubst %/bin/moc,%,$(firstword $(wildcard \
     188        /usr/lib/qt-3.3/bin/moc \
     189        /usr/lib64/qt-3.3/bin/moc \
     190        /usr/qt/3/bin/moc \
     191        /usr/share/qt3/bin/moc \
     192        $(if $(QTDIR),$(QTDIR)/bin/moc) \
     193        )))
     194  endif
    177195 endif
    178196 # If not found, we'll enter the 'pathless' mode.
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette