diff options
Diffstat (limited to 'textproc/highlight/patches/patch-examples_swig_makefile')
-rw-r--r-- | textproc/highlight/patches/patch-examples_swig_makefile | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/textproc/highlight/patches/patch-examples_swig_makefile b/textproc/highlight/patches/patch-examples_swig_makefile index d6391f6f52e..3339f83b5b7 100644 --- a/textproc/highlight/patches/patch-examples_swig_makefile +++ b/textproc/highlight/patches/patch-examples_swig_makefile @@ -1,4 +1,4 @@ -$NetBSD: patch-examples_swig_makefile,v 1.3 2018/03/31 06:05:40 schmonz Exp $ +$NetBSD: patch-examples_swig_makefile,v 1.4 2018/04/08 19:40:29 schmonz Exp $ Use pkgsrc-specified compiler and flags. @@ -13,7 +13,15 @@ Use pkgsrc-specified compiler and flags. HL_INC=../../src/include/ HL_SRC=../../src/ -@@ -18,18 +18,18 @@ lib-stamp: +@@ -12,24 +12,24 @@ PERL_INC=$(shell perl -MExtUtils::Embed + PHP_INC=$(shell php-config --includes) + + lib-stamp: +- make -C ${HL_SRC} -f ./makefile clean +- PIC=1 make -C ${HL_SRC} -f ./makefile CFLAGS="${CFLAGS}" libhighlight.a ++ #make -C ${HL_SRC} -f ./makefile clean ++ #PIC=1 make -C ${HL_SRC} -f ./makefile CFLAGS="${CFLAGS}" libhighlight.a + touch $@ python: lib-stamp swig -c++ -python -o highlight_wrap.cpp highlight.i |