Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jul 2014 17:10:14 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r361477 - head/graphics/php-gdal
Message-ID:  <201407101710.s6AHAE4S002607@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407101710.s6AHAE4S002607>