Index: Makefile =================================================================== RCS file: /home/pcvs/ports/x11-toolkits/qt33/Makefile,v retrieving revision 1.214 diff -u -r1.214 Makefile --- Makefile 11 Jul 2007 20:53:41 -0000 1.214 +++ Makefile 23 Jul 2007 14:14:21 -0000 @@ -74,6 +74,8 @@ .include +PREFIX_REAL!= /bin/realpath ${PREFIX} + # 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: @@ -192,8 +194,8 @@ @cd ${WRKSRC}/tools/${tool}; ${SETENV} ${MAKE_ENV} ${MAKE} .endfor @${RM} -f ${WRKSRC}/doc/html/qmake* - ${REINPLACE_CMD} -e 's|${PREFIX}/include/q.*h||g' \ - -e 's|${PREFIX}/include/private/q.*h||g' \ + ${REINPLACE_CMD} -e 's|${PREFIX_REAL}/include/q.*h||g' \ + -e 's|${PREFIX_REAL}/include/private/q.*h||g' \ ${WRKSRC}/src/Makefile # Work around qmake generated dependencies