aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/graphviz
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2007-03-10 21:01:06 +0800
committerdinoex <dinoex@FreeBSD.org>2007-03-10 21:01:06 +0800
commitbd86c4933b66924c9fb4e7dfb76867c18d065b40 (patch)
tree1f8e9f691067504048ed8e94c0166d8d59b9cfc6 /graphics/graphviz
parenta2061bd7a4a88eb3b39f38d27ca3e6e0f3bfb372 (diff)
downloadfreebsd-ports-gnome-bd86c4933b66924c9fb4e7dfb76867c18d065b40.tar.gz
freebsd-ports-gnome-bd86c4933b66924c9fb4e7dfb76867c18d065b40.tar.zst
freebsd-ports-gnome-bd86c4933b66924c9fb4e7dfb76867c18d065b40.zip
- setup libdir for pkg-config's templates
PR: 110139 Submitted by: Maxim Samsonov - a little cleanup of option
Diffstat (limited to 'graphics/graphviz')
-rw-r--r--graphics/graphviz/Makefile4
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