From owner-svn-ports-all@FreeBSD.ORG Thu Jul 10 17:10:15 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1075D469; Thu, 10 Jul 2014 17:10:15 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F18942F32; Thu, 10 Jul 2014 17:10:14 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s6AHAEJ7002608; Thu, 10 Jul 2014 17:10:14 GMT (envelope-from sunpoet@svn.freebsd.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s6AHAE4S002607; Thu, 10 Jul 2014 17:10:14 GMT (envelope-from sunpoet@svn.freebsd.org) Message-Id: <201407101710.s6AHAE4S002607@svn.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Thu, 10 Jul 2014 17:10:14 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r361477 - head/graphics/php-gdal X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jul 2014 17:10:15 -0000 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