diff options
author | lofi <lofi@FreeBSD.org> | 2004-01-28 20:44:07 +0800 |
---|---|---|
committer | lofi <lofi@FreeBSD.org> | 2004-01-28 20:44:07 +0800 |
commit | b8a8e7b4e11e0447cc096993c57f38a3ea09803b (patch) | |
tree | 0aff6e9f24f4981769d161628550826450336cad /x11-toolkits | |
parent | 0d79ac51918fe453b53a1105c44ba929985b2446 (diff) | |
download | freebsd-ports-gnome-b8a8e7b4e11e0447cc096993c57f38a3ea09803b.tar.gz freebsd-ports-gnome-b8a8e7b4e11e0447cc096993c57f38a3ea09803b.tar.zst freebsd-ports-gnome-b8a8e7b4e11e0447cc096993c57f38a3ea09803b.zip |
PREFIX-safeness fixes.
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/qt32/Makefile | 3 | ||||
-rw-r--r-- | x11-toolkits/qt33/Makefile | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/x11-toolkits/qt32/Makefile b/x11-toolkits/qt32/Makefile index 763be2c6c281..7cd2ad25cc0e 100644 --- a/x11-toolkits/qt32/Makefile +++ b/x11-toolkits/qt32/Makefile @@ -61,7 +61,7 @@ EXTRACT_AFTER_ARGS=| ${TAR} -xf - \ # The previous Qt port versions installed qmake and qmake's specs under X11BASE # The new devel/qmake port installs them under LOCALBASE. We can use # either one here, but we prefer the newer: -.for d in ${X11BASE} ${LOCALBASE} +.for d in ${X11BASE} ${LOCALBASE} ${PREFIX} . if exists($d/share/qt/mkspecs/freebsd-g++) QTBASE=$d PLATFORM=${QTBASE}/share/qt/mkspecs/freebsd-g++ @@ -139,6 +139,7 @@ post-build: # Work around qmake generated dependencies pre-install: + ${MKDIR} ${PREFIX}/lib ${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/lib/*.prl ${PREFIX}/lib ${INSTALL_SCRIPT} ${WRKSRC}/bin/findtr ${PREFIX}/bin .for tool in makeqpf mergetr msg2qm qembed qvfb diff --git a/x11-toolkits/qt33/Makefile b/x11-toolkits/qt33/Makefile index 763be2c6c281..7cd2ad25cc0e 100644 --- a/x11-toolkits/qt33/Makefile +++ b/x11-toolkits/qt33/Makefile @@ -61,7 +61,7 @@ EXTRACT_AFTER_ARGS=| ${TAR} -xf - \ # The previous Qt port versions installed qmake and qmake's specs under X11BASE # The new devel/qmake port installs them under LOCALBASE. We can use # either one here, but we prefer the newer: -.for d in ${X11BASE} ${LOCALBASE} +.for d in ${X11BASE} ${LOCALBASE} ${PREFIX} . if exists($d/share/qt/mkspecs/freebsd-g++) QTBASE=$d PLATFORM=${QTBASE}/share/qt/mkspecs/freebsd-g++ @@ -139,6 +139,7 @@ post-build: # Work around qmake generated dependencies pre-install: + ${MKDIR} ${PREFIX}/lib ${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/lib/*.prl ${PREFIX}/lib ${INSTALL_SCRIPT} ${WRKSRC}/bin/findtr ${PREFIX}/bin .for tool in makeqpf mergetr msg2qm qembed qvfb |