Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Dec 2016 20:57:47 +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: r428434 - head/graphics/php-gdal
Message-ID:  <201612122057.uBCKvljK027125@repo.freebsd.org>

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



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