aboutsummaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorRyan Steinmetz <zi@FreeBSD.org>2012-02-12 21:00:03 +0000
committerRyan Steinmetz <zi@FreeBSD.org>2012-02-12 21:00:03 +0000
commit9942c139c4c360b25b818a7ed955d36bd38e9346 (patch)
treec57157dd4ca8e1f8b8acb895ee2cf772f16ec048 /converters
parent522b3f79d3d0e1dc758c701cdf1839107e3eaf9f (diff)
downloadports-9942c139c4c360b25b818a7ed955d36bd38e9346.tar.gz
ports-9942c139c4c360b25b818a7ed955d36bd38e9346.zip
- Fix build when using custom PREFIX/LOCALBASE
PR: ports/165039 Submitted by: zi@ (me) Approved by: mm@ (maintainer)
Notes
Notes: svn path=/head/; revision=291087
Diffstat (limited to 'converters')
-rw-r--r--converters/wkhtmltopdf/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/converters/wkhtmltopdf/Makefile b/converters/wkhtmltopdf/Makefile
index 669c301488f4..11f2b0423008 100644
--- a/converters/wkhtmltopdf/Makefile
+++ b/converters/wkhtmltopdf/Makefile
@@ -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