diff options
author | dholland <dholland@pkgsrc.org> | 2017-09-09 23:52:28 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2017-09-09 23:52:28 +0000 |
commit | 0cac9dbb21330dace3705bd726d53890484144ae (patch) | |
tree | 18b260c82163aa6ff6a4ccba851cc8501ced1dea /geography | |
parent | 2e398d193848cd2c881b58e5932c3d2cf513aca0 (diff) | |
download | pkgsrc-0cac9dbb21330dace3705bd726d53890484144ae.tar.gz |
Make this compile.
- since it got changed to depend on swig2, have it run swig2.
- since it got changed to use guile20, add guile20's include path.
Diffstat (limited to 'geography')
-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 |