pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/geography/proj-swig



Module Name:    pkgsrc
Committed By:   dholland
Date:           Sat Sep  9 23:52:28 UTC 2017

Modified Files:
        pkgsrc/geography/proj-swig: Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 pkgsrc/geography/proj-swig/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/geography/proj-swig/Makefile
diff -u pkgsrc/geography/proj-swig/Makefile:1.27 pkgsrc/geography/proj-swig/Makefile:1.28
--- pkgsrc/geography/proj-swig/Makefile:1.27    Sun Jan  1 14:43:41 2017
+++ pkgsrc/geography/proj-swig/Makefile Sat Sep  9 23:52:28 2017
@@ -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



Home | Main Index | Thread Index | Old Index