aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2013-02-16 19:22:59 +0800
committerdinoex <dinoex@FreeBSD.org>2013-02-16 19:22:59 +0800
commit54ee0381a21bac375e61fa7190b65a31f25fc16a (patch)
tree702257a426a04ae6c7504fc09bf3730d394adc51
parent2a79f021b9a9b67222789b67b3af08677087e2f1 (diff)
downloadfreebsd-ports-gnome-54ee0381a21bac375e61fa7190b65a31f25fc16a.tar.gz
freebsd-ports-gnome-54ee0381a21bac375e61fa7190b65a31f25fc16a.tar.zst
freebsd-ports-gnome-54ee0381a21bac375e61fa7190b65a31f25fc16a.zip
- switch to swig2.0
- unbreak PHP module
-rw-r--r--graphics/graphviz/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/graphics/graphviz/Makefile b/graphics/graphviz/Makefile
index f5a0e62682bf..8c37e81884a6 100644
--- a/graphics/graphviz/Makefile
+++ b/graphics/graphviz/Makefile
@@ -3,6 +3,7 @@
PORTNAME= graphviz
PORTVERSION= 2.30.1
+PORTREVERSION= 100
CATEGORIES= graphics tk
MASTER_SITES= http://www.graphviz.org/pub/graphviz/ARCHIVE/
@@ -300,10 +301,10 @@ PLIST_SUB+= WITH_DEVIL="@comment "
.if ${PORT_OPTIONS:MPERL} || ${PORT_OPTIONS:MPHP} || ${PORT_OPTIONS:MPYTHON} || \
${PORT_OPTIONS:MRUBY} || ${PORT_OPTIONS:MLUA} || ${PORT_OPTIONS:MTCL} || \
${PORT_OPTIONS:MGUILE}
-BUILD_DEPENDS+= swig1.3:${PORTSDIR}/devel/swig13
-RUN_DEPENDS+= swig1.3:${PORTSDIR}/devel/swig13
+BUILD_DEPENDS+= swig2.0:${PORTSDIR}/devel/swig20
+RUN_DEPENDS+= swig2.0:${PORTSDIR}/devel/swig20
CONFIGURE_ARGS+= --enable-swig
-CONFIGURE_ENV+= SWIG="${LOCALBASE}/bin/swig1.3"
+CONFIGURE_ENV+= SWIG="${LOCALBASE}/bin/swig2.0"
.else
CONFIGURE_ARGS+= --disable-swig
CONFIGURE_ENV+= SWIG="/nonexistent"
@@ -327,9 +328,6 @@ USE_PHP_BUILD= yes
.include "${PORTSDIR}/Mk/bsd.php.mk"
CPPFLAGS+= -I${LOCALBASE}/include/php/Zend
MAN3+= gv.3php
-.if ${PHP_VER} == 5
-BROKEN= swig is to old to build for php 5.4
-.endif
.else
CONFIGURE_ARGS+= --disable-php
PLIST_SUB+= WITH_PHP="@comment "