svn commit: r313912 - head/graphics/ruby-gdal
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Mon Mar 11 14:38:11 UTC 2013
Author: sunpoet
Date: Mon Mar 11 14:38:10 2013
New Revision: 313912
URL: http://svnweb.freebsd.org/changeset/ports/313912
Log:
- Use pre-configure: instead of pre-build:
- Cleanup Makefile
Modified:
head/graphics/ruby-gdal/Makefile
Modified: head/graphics/ruby-gdal/Makefile
==============================================================================
--- head/graphics/ruby-gdal/Makefile Mon Mar 11 14:37:20 2013 (r313911)
+++ head/graphics/ruby-gdal/Makefile Mon Mar 11 14:38:10 2013 (r313912)
@@ -14,7 +14,6 @@ COMMENT= Ruby binding for GDAL
LICENSE= MIT
-#BUILD_DEPENDS= ${LOCALBASE}/bin/swig:${PORTSDIR}/devel/swig13
BUILD_DEPENDS= ${LOCALBASE}/bin/swig2.0:${PORTSDIR}/devel/swig20
LIB_DEPENDS= gdal:${PORTSDIR}/graphics/gdal
@@ -33,8 +32,8 @@ post-patch:
do-configure:
@${DO_NADA}
-# include/cpl_config.h will exist after build phase
-pre-build:
+# include/cpl_config.h will only exist after graphics/gdal (build dependency) installed
+pre-configure:
@${SED} -e '/^GDAL_ROOT/d' ${DATADIR}/GDALmake.opt > ${WRKSRC}/../../GDALmake.opt
@${CP} ${LOCALBASE}/include/cpl_config.h ${WRKSRC}/../../port/
More information about the svn-ports-head
mailing list