diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2013-03-11 14:38:10 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2013-03-11 14:38:10 +0000 |
commit | 710037573fd652ec82be4a7396503384e6b61465 (patch) | |
tree | 7ba42dca2f892f28754950b965537e6c06fed523 /graphics/ruby-gdal | |
parent | 1d630dadbb783e38aae80d2fccb64124c956f00b (diff) |
Notes
Diffstat (limited to 'graphics/ruby-gdal')
-rw-r--r-- | graphics/ruby-gdal/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/graphics/ruby-gdal/Makefile b/graphics/ruby-gdal/Makefile index 3504cbd51689..e22fc6cd3e66 100644 --- a/graphics/ruby-gdal/Makefile +++ b/graphics/ruby-gdal/Makefile @@ -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/ |