aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/qt33
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2007-04-19 17:04:16 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2007-04-19 17:04:16 +0000
commit70b438b4348e8e5786613051e3c8e890dd2d18f9 (patch)
treea205b1820e52df6d153ce097106874e7e35f2a52 /x11-toolkits/qt33
parent4b39f15754165f9ed08919f7c9632147c36ca523 (diff)
downloadports-70b438b4348e8e5786613051e3c8e890dd2d18f9.tar.gz
ports-70b438b4348e8e5786613051e3c8e890dd2d18f9.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).
Notes
Notes: svn path=/head/; revision=190367
Diffstat (limited to 'x11-toolkits/qt33')
-rw-r--r--x11-toolkits/qt33/Makefile6
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: