From 9942c139c4c360b25b818a7ed955d36bd38e9346 Mon Sep 17 00:00:00 2001 From: Ryan Steinmetz Date: Sun, 12 Feb 2012 21:00:03 +0000 Subject: - Fix build when using custom PREFIX/LOCALBASE PR: ports/165039 Submitted by: zi@ (me) Approved by: mm@ (maintainer) --- converters/wkhtmltopdf/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'converters') 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 -- cgit v1.2.3