aboutsummaryrefslogtreecommitdiff
path: root/graphics/mapserver/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/mapserver/Makefile')
-rw-r--r--graphics/mapserver/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/graphics/mapserver/Makefile b/graphics/mapserver/Makefile
index e216c9edee31..e67b2f3bbbd0 100644
--- a/graphics/mapserver/Makefile
+++ b/graphics/mapserver/Makefile
@@ -44,7 +44,8 @@ WCS_DESC= WCS Server support
.if ${PORT_OPTIONS:MPYTHON}
USES+= python:2
-BUILD_DEPENDS+= swig2.0:devel/swig20
+BUILD_DEPENDS+= swig3.0:devel/swig30
+BINARY_ALIAS= swig=swig3.0
CMAKE_ARGS+= -DWITH_PYTHON=yes
PLIST_SUB+= PYTHON=""
MAP_EGG= MapScript-${PORTVERSION}-${PYTHON_VERSION:S/thon//}
@@ -137,9 +138,10 @@ PLIST_SUB+= PHP="@comment "
.if ${PORT_OPTIONS:MPERL}
USES+= perl5
-BUILD_DEPENDS= ${LOCALBASE}/bin/swig2.0:devel/swig20
+BUILD_DEPENDS= swig3.0:devel/swig30
CMAKE_ARGS+= -DWITH_PERL=1
PLIST_SUB+= PERL=""
+BINARY_ALIAS= swig=swig3.0
.else
CMAKE_ARGS+= -DWITH_PERL=0
PLIST_SUB+= PERL="@comment "