1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

- Fix build when using custom PREFIX/LOCALBASE

PR:		ports/165039
Submitted by:	zi@ (me)
Approved by:	mm@ (maintainer)
This commit is contained in:
Ryan Steinmetz 2012-02-12 21:00:03 +00:00
parent 522b3f79d3
commit 9942c139c4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=291087

View File

@ -77,7 +77,8 @@ CONFIGURE_ARGS+= -system-libtiff -system-libpng -system-libmng \
.endif
post-patch:
@${REINPLACE_CMD} -e 's|/usr/X11R6/include|${LOCALBASE}/include/X11|g' \
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
-e 's|/usr/X11R6/include|${LOCALBASE}/include/X11|g' \
-e 's|/usr/X11R6/lib|${LOCALBASE}/lib|g' \
${WRKSRC}/mkspecs/freebsd-g++/qmake.conf