From owner-svn-ports-head@freebsd.org Mon Dec 12 20:57:48 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 85697C6EE27; Mon, 12 Dec 2016 20:57:48 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 545CA1A5C; Mon, 12 Dec 2016 20:57:48 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uBCKvlQo027126; Mon, 12 Dec 2016 20:57:47 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uBCKvljK027125; Mon, 12 Dec 2016 20:57:47 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201612122057.uBCKvljK027125@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Mon, 12 Dec 2016 20:57:47 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r428434 - 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-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Dec 2016 20:57:48 -0000 Author: sunpoet Date: Mon Dec 12 20:57:47 2016 New Revision: 428434 URL: https://svnweb.freebsd.org/changeset/ports/428434 Log: - Fix typo in r426643 - Change GDALmake.opt and cpl_config.h hack from pre-build: to post-configure: - Update comment Modified: head/graphics/php-gdal/Makefile Modified: head/graphics/php-gdal/Makefile ============================================================================== --- head/graphics/php-gdal/Makefile Mon Dec 12 20:57:42 2016 (r428433) +++ head/graphics/php-gdal/Makefile Mon Dec 12 20:57:47 2016 (r428434) @@ -20,7 +20,7 @@ LIB_DEPENDS= libgdal.so:graphics/gdal ALL_TARGET= php_gdal.so php_gdalconst.so php_ogr.so php_osr.so CFLAGS+= -fPIC -#IGNORE_WITH_PHP=70 +IGNORE_WITH_PHP=70 MAKEFILE= GNUmakefile PHP_MOD_NAME= php_${PORTNAME} USES= php:build gmake localbase tar:xz @@ -31,8 +31,8 @@ post-patch: @${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 -pre-build: +# GDALmake.opt and cpl_config.h are not available until configure phase +post-configure: ${SED} -e '/^GDAL_ROOT/d' ${DATADIR}/GDALmake.opt > ${WRKSRC}/../../GDALmake.opt ${CP} ${LOCALBASE}/include/cpl_config.h ${WRKSRC}/../../port/