diff options
author | lofi <lofi@FreeBSD.org> | 2007-04-20 01:04:16 +0800 |
---|---|---|
committer | lofi <lofi@FreeBSD.org> | 2007-04-20 01:04:16 +0800 |
commit | 18159a3ac1812e45272d9372ab81e073abaedba1 (patch) | |
tree | 493d96a712bd68291a01cf59bf24547c26276c86 /x11-toolkits/qt33 | |
parent | 2c96390f21545954937cd61a70e537d7078ec332 (diff) | |
download | freebsd-ports-gnome-18159a3ac1812e45272d9372ab81e073abaedba1.tar.gz freebsd-ports-gnome-18159a3ac1812e45272d9372ab81e073abaedba1.tar.zst freebsd-ports-gnome-18159a3ac1812e45272d9372ab81e073abaedba1.zip |
Make sure qt33 installs (and reinstalls) properly when PREFIX is set
to !=/usr/X11R6 (which will be the default once X.org 7.2 hits ports).
Diffstat (limited to 'x11-toolkits/qt33')
-rw-r--r-- | x11-toolkits/qt33/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/x11-toolkits/qt33/Makefile b/x11-toolkits/qt33/Makefile index 2159bb304bb9..f2ba8980b880 100644 --- a/x11-toolkits/qt33/Makefile +++ b/x11-toolkits/qt33/Makefile @@ -186,10 +186,10 @@ post-build: .for tool in makeqpf mergetr msg2qm qembed qvfb @cd ${WRKSRC}/tools/${tool}; ${SETENV} ${MAKE_ENV} ${MAKE} .endfor - @${FIND} ${WRKSRC} -name Makefile | ${XARGS} ${GREP} --mmap -F -l -- \ - "${PLATFORM}" | ${XARGS} ${REINPLACE_CMD} -e "s,${PLATFORM}/qmake.conf,," \ - -e "s,${PLATFORM},," @${RM} -f ${WRKSRC}/doc/html/qmake* + ${REINPLACE_CMD} -e 's|${PREFIX}/include/q.*h||g' \ + -e 's|${PREFIX}/include/private/q.*h||g' \ + ${WRKSRC}/src/Makefile # Work around qmake generated dependencies pre-su-install: |