svn commit: r361477 - head/graphics/php-gdal

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Thu Jul 10 17:10:15 UTC 2014


Author: sunpoet
Date: Thu Jul 10 17:10:14 2014
New Revision: 361477
URL: http://svnweb.freebsd.org/changeset/ports/361477
QAT: https://qat.redports.org/buildarchive/r361477/

Log:
  - Use devel/swig30 instead of devel/swig20

Modified:
  head/graphics/php-gdal/Makefile

Modified: head/graphics/php-gdal/Makefile
==============================================================================
--- head/graphics/php-gdal/Makefile	Thu Jul 10 17:08:56 2014	(r361476)
+++ head/graphics/php-gdal/Makefile	Thu Jul 10 17:10:14 2014	(r361477)
@@ -14,7 +14,7 @@ COMMENT=	PHP binding for GDAL
 
 LICENSE=	MIT
 
-BUILD_DEPENDS=	${LOCALBASE}/bin/swig2.0:${PORTSDIR}/devel/swig20
+BUILD_DEPENDS=	${LOCALBASE}/bin/swig3.0:${PORTSDIR}/devel/swig30
 LIB_DEPENDS=	libgdal.so:${PORTSDIR}/graphics/gdal
 
 ALL_TARGET=	php_gdal.so php_gdalconst.so php_ogr.so php_osr.so
@@ -24,10 +24,11 @@ PHP_MOD_NAME=	php_${PORTNAME}
 USE_PHP=	yes
 USE_PHP_BUILD=	yes
 USES=		gmake
+
 WRKSRC=		${WRKDIR}/${DISTNAME}/swig/php
 
 post-patch:
-	@${REINPLACE_CMD} -e '/^SWIG = swig/ s|$$|2.0|' ${WRKSRC}/../SWIGmake.base
+	@${REINPLACE_CMD} -e '/^SWIG = swig/ s|$$|3.0|' ${WRKSRC}/../SWIGmake.base
 	@${REINPLACE_CMD} -e 's|^CC=.*$$|CC=${CC}|; s|^CXX=.*$$|CXX=${CXX}|; s|^CFLAGS=.*$$|CFLAGS=${CFLAGS}|' ${WRKSRC}/${MAKEFILE}
 
 # include/cpl_config.h will exist after build phase


More information about the svn-ports-all mailing list