pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Sun May 27 11:50:26 UTC 2018

Modified Files:
        pkgsrc/textproc/libhighlight: distinfo
        pkgsrc/textproc/libhighlight/patches: patch-extras_swig_makefile
        pkgsrc/textproc/p5-highlight: Makefile

Log Message:
Use swig3 to get Perl bindings building again on NetBSD. Bump
PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/textproc/libhighlight/distinfo
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/textproc/libhighlight/patches/patch-extras_swig_makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/textproc/p5-highlight/Makefile

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

Modified files:

Index: pkgsrc/textproc/libhighlight/distinfo
diff -u pkgsrc/textproc/libhighlight/distinfo:1.1 pkgsrc/textproc/libhighlight/distinfo:1.2
--- pkgsrc/textproc/libhighlight/distinfo:1.1   Thu May  3 13:13:51 2018
+++ pkgsrc/textproc/libhighlight/distinfo       Sun May 27 11:50:26 2018
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.1 2018/05/03 13:13:51 schmonz Exp $
+$NetBSD: distinfo,v 1.2 2018/05/27 11:50:26 schmonz Exp $
 
 SHA1 (highlight-3.43.tar.bz2) = 471976f309339f9b6a17ee9501b9d3b0a47872da
 RMD160 (highlight-3.43.tar.bz2) = 73d53b819e16a9796af44fe346f464d7743c3ee9
 SHA512 (highlight-3.43.tar.bz2) = 77ad159963de64ef3c4732ad70c63ceafe7002c43d8b045e61361f52e56467933790c70e88570e0c866503a621496de2c80934c7f8141721545ff43c807968d1
 Size (highlight-3.43.tar.bz2) = 1311318 bytes
-SHA1 (patch-extras_swig_makefile) = 53e0793dab41fecafd3360564a951ddd4187e894
+SHA1 (patch-extras_swig_makefile) = 2bb62f7519cd5baed60b1af5f606ce22444c346f
 SHA1 (patch-makefile) = 693fe29c416e4e5ee63e279f4abb27799ce0d6e0
 SHA1 (patch-src_core_platform__fs.cpp) = 65b7f4b665b820eec4b835474bd308e49080526e
 SHA1 (patch-src_makefile) = 040bbcddb6e83e4d2c4f9039f55d543c8f7a2ea4

Index: pkgsrc/textproc/libhighlight/patches/patch-extras_swig_makefile
diff -u pkgsrc/textproc/libhighlight/patches/patch-extras_swig_makefile:1.1 pkgsrc/textproc/libhighlight/patches/patch-extras_swig_makefile:1.2
--- pkgsrc/textproc/libhighlight/patches/patch-extras_swig_makefile:1.1 Thu May  3 13:13:51 2018
+++ pkgsrc/textproc/libhighlight/patches/patch-extras_swig_makefile     Sun May 27 11:50:26 2018
@@ -1,8 +1,8 @@
-$NetBSD: patch-extras_swig_makefile,v 1.1 2018/05/03 13:13:51 schmonz Exp $
+$NetBSD: patch-extras_swig_makefile,v 1.2 2018/05/27 11:50:26 schmonz Exp $
 
 Use pkgsrc-specified compiler and flags.
 
---- extras/swig/makefile.orig  2013-09-24 20:24:04.000000000 +0000
+--- extras/swig/makefile.orig  2018-04-30 12:17:04.000000000 +0000
 +++ extras/swig/makefile
 @@ -1,6 +1,6 @@
  
@@ -24,23 +24,26 @@ Use pkgsrc-specified compiler and flags.
        touch $@
  
  python: lib-stamp
-       swig -c++ -python -o highlight_wrap.cpp  highlight.i
+-      swig -c++ -python -o highlight_wrap.cpp  highlight.i
 -      ${CXX} ${CFLAGS} -c highlight_wrap.cpp ${LUA_CFLAGS} ${PYTHON_CFLAGS} -I${HL_INC} 
 -      ${CXX} -shared -s highlight_wrap.o  -L${HL_SRC} -lhighlight ${LUA_LIBS} -lpython2.7 -o _highlight.so
++      swig3.0 -c++ -python -o highlight_wrap.cpp  highlight.i
 +      ${CXX} ${CFLAGS} ${LDFLAGS} -c highlight_wrap.cpp ${LUA_CFLAGS} ${PYTHON_CFLAGS} -I${HL_INC} 
 +      ${CXX} ${CXXFLAGS} ${LDFLAGS} -shared -s highlight_wrap.o  -L${HL_SRC} -lhighlight ${LUA_LIBS} -lpython2.7 -o _highlight.so
  
  perl: lib-stamp
-       swig -c++ -perl -o highlight_wrap.cpp  highlight.i
+-      swig -c++ -perl -o highlight_wrap.cpp  highlight.i
 -      ${CXX} ${CFLAGS} -c highlight_wrap.cpp ${LUA_CFLAGS} ${PERL_INC} -I${HL_INC} 
 -      ${CXX} -shared -s highlight_wrap.o  -L${HL_SRC} -lhighlight ${LUA_LIBS} -o highlight.so
++      swig3.0 -c++ -perl -o highlight_wrap.cpp  highlight.i
 +      ${CXX} ${CFLAGS} ${LDFLAGS} -c highlight_wrap.cpp ${LUA_CFLAGS} ${PERL_INC} -I${HL_INC} 
 +      ${CXX} ${CXXFLAGS} ${LDFLAGS} -shared -s highlight_wrap.o  -L${HL_SRC} -lhighlight ${LUA_LIBS} -lperl -o highlight.so
  
  php: lib-stamp
-       swig -c++ -php -o highlight_wrap.cpp highlight.i
+-      swig -c++ -php -o highlight_wrap.cpp highlight.i
 -      ${CXX} ${CFLAGS} -c highlight_wrap.cpp ${LUA_CFLAGS} ${PHP_INC} -I${HL_INC}
 -      ${CXX} -shared -s highlight_wrap.o -L${HL_SRC} -lhighlight ${LUA_LIBS} -o highlight.so
++      swig3.0 -c++ -php -o highlight_wrap.cpp highlight.i
 +      ${CXX} ${CFLAGS} ${LDFLAGS} -c highlight_wrap.cpp ${LUA_CFLAGS} ${PHP_INC} -I${HL_INC}
 +      ${CXX} ${CXXFLAGS} ${LDFLAGS} -shared -s highlight_wrap.o -L${HL_SRC} -lhighlight ${LUA_LIBS} -o highlight.so
  

Index: pkgsrc/textproc/p5-highlight/Makefile
diff -u pkgsrc/textproc/p5-highlight/Makefile:1.8 pkgsrc/textproc/p5-highlight/Makefile:1.9
--- pkgsrc/textproc/p5-highlight/Makefile:1.8   Thu May  3 13:13:51 2018
+++ pkgsrc/textproc/p5-highlight/Makefile       Sun May 27 11:50:26 2018
@@ -1,11 +1,12 @@
-# $NetBSD: Makefile,v 1.8 2018/05/03 13:13:51 schmonz Exp $
+# $NetBSD: Makefile,v 1.9 2018/05/27 11:50:26 schmonz Exp $
 
 .include "../../textproc/libhighlight/Makefile.common"
+PKGREVISION=           1
 
 PKGNAME=               p5-highlight-${VERSION}
 COMMENT+=               (Perl bindings)
 
-BUILD_DEPENDS+=                swig-[0-9]*:../../devel/swig
+BUILD_DEPENDS+=                swig3-[0-9]*:../../devel/swig3
 
 BUILD_DIRS=            extras/swig
 BUILD_TARGET=          perl



Home | Main Index | Thread Index | Old Index