diff options
-rw-r--r-- | geography/proj-swig/Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/geography/proj-swig/Makefile b/geography/proj-swig/Makefile index 54da4753ec4..b777972d5e8 100644 --- a/geography/proj-swig/Makefile +++ b/geography/proj-swig/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.27 2017/01/01 14:43:41 wiz Exp $ +# $NetBSD: Makefile,v 1.28 2017/09/09 23:52:28 dholland Exp $ DISTNAME= proj-swig-0.02 PKGREVISION= 8 @@ -19,6 +19,16 @@ GNU_CONFIGURE= yes PY_PATCHPLIST= yes PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 # not yet ported as of 0.02 +# Find guile20's includes +CFLAGS+= -I${BUILDLINK_PREFIX.guile20}/include/guile/2.0 + +# Use swig2 +SUBST_CLASSES+= swig2 +SUBST_STAGE.swig2= pre-configure +SUBST_MESSSAGE.swig2= Using swig2. +SUBST_FILES.swig2= Makefile.in +SUBST_SED.swig2= -e s/swig/swig2.0/ + # The perl build is commented out upstream, so this doesn't have any # effect. SUBST_CLASSES+= pkg |