1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00

- Use devel/swig30 instead of devel/swig20

This commit is contained in:
Sunpoet Po-Chuan Hsieh 2014-07-10 17:10:55 +00:00
parent 991fa1847f
commit 879bfdc887
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361478

View File

@ -14,7 +14,7 @@ COMMENT= Ruby binding for GDAL
LICENSE= MIT
BUILD_DEPENDS= ${LOCALBASE}/bin/swig2.0:${PORTSDIR}/devel/swig20
BUILD_DEPENDS= ${LOCALBASE}/bin/swig3.0:${PORTSDIR}/devel/swig30
LIB_DEPENDS= libgdal.so:${PORTSDIR}/graphics/gdal
LIBTOOLFILES= # empty
@ -26,7 +26,7 @@ USES= gmake
WRKSRC= ${WRKDIR}/${DISTNAME}/swig/ruby
post-patch:
@${REINPLACE_CMD} -e '/^SWIG = swig/ s|$$|2.0|' ${WRKSRC}/../SWIGmake.base
@${REINPLACE_CMD} -e '/^SWIG = swig/ s|$$|3.0|' ${WRKSRC}/../SWIGmake.base
@${REINPLACE_CMD} -e 's|Config::CONFIG|Rb&|g' ${WRKSRC}/RubyMakefile.mk
do-configure: