Don't fail if ${PREFIX} is a symlink.
PR: ports/114809 Reported by: dhw
This commit is contained in:
parent
0374a42edb
commit
a3df7e8d97
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=196892
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user