aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authorlofi <lofi@FreeBSD.org>2007-08-01 20:41:43 +0800
committerlofi <lofi@FreeBSD.org>2007-08-01 20:41:43 +0800
commit73e437ae178afe52fd8b0f2fe37131459beced0a (patch)
tree4c1b04e7af66a40ac20f9c5786d3af00bacd785c /x11-toolkits
parent13e5835815509d285289c06bc74a9d62790f3046 (diff)
downloadfreebsd-ports-gnome-73e437ae178afe52fd8b0f2fe37131459beced0a.tar.gz
freebsd-ports-gnome-73e437ae178afe52fd8b0f2fe37131459beced0a.tar.zst
freebsd-ports-gnome-73e437ae178afe52fd8b0f2fe37131459beced0a.zip
Don't fail if ${PREFIX} is a symlink.
PR: ports/114809 Reported by: dhw
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/qt33/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/x11-toolkits/qt33/Makefile b/x11-toolkits/qt33/Makefile
index 4cc5f5f9d0ea..e9787fc25c90 100644
--- a/x11-toolkits/qt33/Makefile
+++ b/x11-toolkits/qt33/Makefile
@@ -75,6 +75,8 @@ PACKAGE_COOKIE= ${WRKDIR}/.package_done.${PORTNAME}.${PREFIX:S/\//_/g}
.include <bsd.port.pre.mk>
+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:
@@ -193,8 +195,8 @@ post-build:
@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