summaryrefslogtreecommitdiff
path: root/lang/japhar/patches/patch-af
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2003-07-07 13:56:27 +0000
committerseb <seb@pkgsrc.org>2003-07-07 13:56:27 +0000
commit46b0c6fbee7f0a1615e3bb29f9eebfd578e38888 (patch)
treed9c97b3da8349b639d65ff3adb75691f320676c2 /lang/japhar/patches/patch-af
parent7c126a0b80ba68dee2b15594874411053d28902a (diff)
downloadpkgsrc-46b0c6fbee7f0a1615e3bb29f9eebfd578e38888.tar.gz
Mark with USE_GCC_SHLIB (for libstdc++) and let (via patch files)
LDFLAGS flowing to japhar's link command. At least fix build on Solaris9.
Diffstat (limited to 'lang/japhar/patches/patch-af')
-rw-r--r--lang/japhar/patches/patch-af15
1 files changed, 15 insertions, 0 deletions
diff --git a/lang/japhar/patches/patch-af b/lang/japhar/patches/patch-af
new file mode 100644
index 00000000000..e93cc4b5f5a
--- /dev/null
+++ b/lang/japhar/patches/patch-af
@@ -0,0 +1,15 @@
+$NetBSD: patch-af,v 1.1 2003/07/07 13:56:27 seb Exp $
+
+--- progs/japhar/Makefile.am.orig 1999-03-01 21:16:44.000000000 +0100
++++ progs/japhar/Makefile.am
+@@ -1,9 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
+-LDFLAGS=-export-dynamic
+-
+ # we need this since jni includes some c++ source.
+-LINK = $(LIBTOOL) --mode=link $(CXX) $(CFLAGS) $(LDFLAGS) -o $@
++LINK = $(LIBTOOL) --mode=link $(CXX) $(CFLAGS) -export-dynamic $(LDFLAGS) -o $@
+
+ if NEED_ZLIB
+ ZLIB = $(top_builddir)/lib/zlib/libzlib.la