Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Mar 2013 14:38:11 +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: r313912 - head/graphics/ruby-gdal
Message-ID:  <201303111438.r2BEcB90070811@svn.freebsd.org>

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



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