aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/graphviz
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2013-02-17 21:43:37 +0800
committerdinoex <dinoex@FreeBSD.org>2013-02-17 21:43:37 +0800
commitc4dc59fb870976befd18375bb51aed17e70fff99 (patch)
treebbca451c90f9d53e90eed228e447b49d62ef3baa /graphics/graphviz
parentb4a21248f44da190a8e1b7632566b8545e944337 (diff)
downloadfreebsd-ports-gnome-c4dc59fb870976befd18375bb51aed17e70fff99.tar.gz
freebsd-ports-gnome-c4dc59fb870976befd18375bb51aed17e70fff99.tar.zst
freebsd-ports-gnome-c4dc59fb870976befd18375bb51aed17e70fff99.zip
- fix build on FreeBSD 7.x
Submitted by: pawel
Diffstat (limited to 'graphics/graphviz')
-rw-r--r--graphics/graphviz/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/graphviz/Makefile b/graphics/graphviz/Makefile
index 8c37e81884a6..04f239e40a57 100644
--- a/graphics/graphviz/Makefile
+++ b/graphics/graphviz/Makefile
@@ -430,7 +430,8 @@ post-patch:
-e 's|libdir=@libdir@|libdir=@libdir@/@PACKAGE@|';
@${REINPLACE_CMD} -e "s|/usr/include/php|${LOCALBASE}/include/php|g" \
-e "s|vendorarch|installsitearch|g" \
- -e "s|-lruby|-lruby${RUBY_SUFFIX}|g" ${WRKSRC}/configure
+ -e "s|-lruby|-lruby${RUBY_SUFFIX}|g" \
+ -e '/if test/ s| == | = |g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|#include "gui.h"|#include "gui/gui.h"|' \
${WRKSRC}/cmd/smyrna/tvnodes.h
${CP} ${WRKSRC}/lib/cgraph/cgraph.h ${WRKSRC}/plugin/ming/