diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2007-03-10 13:01:06 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2007-03-10 13:01:06 +0000 |
commit | 807cfdf1ea42017cfdbbe8d8b1366a601668f8c4 (patch) | |
tree | ed4f6d5801c9749ff5d13343aa61a3c80aeb00b9 /graphics/graphviz | |
parent | c5f514103b1b2ef83ac045ca5f6eb6f4218d88f3 (diff) | |
download | ports-807cfdf1ea42017cfdbbe8d8b1366a601668f8c4.tar.gz ports-807cfdf1ea42017cfdbbe8d8b1366a601668f8c4.zip |
Notes
Diffstat (limited to 'graphics/graphviz')
-rw-r--r-- | graphics/graphviz/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/graphics/graphviz/Makefile b/graphics/graphviz/Makefile index 524442316b01..8d86a5769717 100644 --- a/graphics/graphviz/Makefile +++ b/graphics/graphviz/Makefile @@ -154,7 +154,6 @@ PLIST_SUB+= WITH_PHP="" USE_PHP= yes USE_PHP_BUILD= yes CPPFLAGS+= -I${LOCALBASE}/include/php/Zend -.include "${PORTSDIR}/Mk/bsd.php.mk" . endif . if !defined(WITH_PYTHON) @@ -227,6 +226,9 @@ pre-patch: ${XARGS} ${REINPLACE_CMD} \ -e 's|pkglibdir = $$(libdir)/@PACKAGE@|pkglibdir = $$(libdir)|g' \ -e 's|libdir = @libdir@|libdir = @libdir@/@PACKAGE@|g'; + @${FIND} ${WRKSRC}/lib -name '*.pc.in' | \ + ${XARGS} ${REINPLACE_CMD} \ + -e 's|libdir=@libdir@|libdir=@libdir@/@PACKAGE@|'; @${REINPLACE_CMD} -e "s|/usr/include/php|${LOCALBASE}/include/php|g" \ -e "s|-lruby|-lruby${RUBY_SUFFIX}|g" ${WRKSRC}/configure |