diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2013-03-11 22:38:10 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2013-03-11 22:38:10 +0800 |
commit | dc0fb02e316cc07347b2dd5f1096a468ae185b8a (patch) | |
tree | 7ba42dca2f892f28754950b965537e6c06fed523 /graphics | |
parent | a5e1f665c3fd0f2daa967c7c15cb616912f724b4 (diff) | |
download | freebsd-ports-gnome-dc0fb02e316cc07347b2dd5f1096a468ae185b8a.tar.gz freebsd-ports-gnome-dc0fb02e316cc07347b2dd5f1096a468ae185b8a.tar.zst freebsd-ports-gnome-dc0fb02e316cc07347b2dd5f1096a468ae185b8a.zip |
- Use pre-configure: instead of pre-build:
- Cleanup Makefile
Diffstat (limited to 'graphics')
-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/ |