pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc Use swig3 to get Perl bindings building again...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/71321a7d3ace
branches:  trunk
changeset: 381007:71321a7d3ace
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Sun May 27 11:50:26 2018 +0000

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

diffstat:

 textproc/libhighlight/distinfo                           |   4 ++--
 textproc/libhighlight/patches/patch-extras_swig_makefile |  13 ++++++++-----
 textproc/p5-highlight/Makefile                           |   5 +++--
 3 files changed, 13 insertions(+), 9 deletions(-)

diffs (78 lines):

diff -r cf9ac52be057 -r 71321a7d3ace textproc/libhighlight/distinfo
--- a/textproc/libhighlight/distinfo    Sun May 27 09:56:20 2018 +0000
+++ b/textproc/libhighlight/distinfo    Sun May 27 11:50:26 2018 +0000
@@ -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
diff -r cf9ac52be057 -r 71321a7d3ace textproc/libhighlight/patches/patch-extras_swig_makefile
--- a/textproc/libhighlight/patches/patch-extras_swig_makefile  Sun May 27 09:56:20 2018 +0000
+++ b/textproc/libhighlight/patches/patch-extras_swig_makefile  Sun May 27 11:50:26 2018 +0000
@@ -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 @@
        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
  
diff -r cf9ac52be057 -r 71321a7d3ace textproc/p5-highlight/Makefile
--- a/textproc/p5-highlight/Makefile    Sun May 27 09:56:20 2018 +0000
+++ b/textproc/p5-highlight/Makefile    Sun May 27 11:50:26 2018 +0000
@@ -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