summaryrefslogtreecommitdiff
path: root/devel/pcre/patches
diff options
context:
space:
mode:
authortv <tv>2005-10-31 20:33:24 +0000
committertv <tv>2005-10-31 20:33:24 +0000
commit0b1c2147768a1f32e2fc6fe4f4d7824d64612881 (patch)
tree06f8b89c985a807e54de9c2e7e6c306b5a65f2e4 /devel/pcre/patches
parent822ed4490309753a1e308fe6425d13d1a5836624 (diff)
downloadpkgsrc-0b1c2147768a1f32e2fc6fe4f4d7824d64612881.tar.gz
Explicitly provide "--tag=CC" to libtool. I'm not yet sure why this is a
problem on Interix, but it appears that -export-symbols-regex needs it in order for the relink-at-install phase to work properly.
Diffstat (limited to 'devel/pcre/patches')
-rw-r--r--devel/pcre/patches/patch-aa13
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/pcre/patches/patch-aa b/devel/pcre/patches/patch-aa
new file mode 100644
index 00000000000..c2caebb9bec
--- /dev/null
+++ b/devel/pcre/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.8 2005/10/31 20:33:24 tv Exp $
+
+--- Makefile.in.orig 2005-09-12 04:45:39.000000000 -0400
++++ Makefile.in
+@@ -105,7 +105,7 @@ LTCOMPILE = $(LIBTOOL) --mode=compile $(
+ LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) -c $(CXXFLAGS) -I. -I$(top_srcdir) $(NEWLINE) $(LINK_SIZE) $(MATCH_LIMIT) $(NO_RECURSE) $(EBCDIC)
+ @ON_WINDOWS@LINK = $(CC) $(LDFLAGS) -I. -I$(top_srcdir) -L.libs
+ @NOT_ON_WINDOWS@LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -I. -I$(top_srcdir)
+-LINKLIB = $(LIBTOOL) --mode=link $(CC) -export-symbols-regex '^[^_]' $(LDFLAGS) -I. -I$(top_srcdir)
++LINKLIB = $(LIBTOOL) --mode=link --tag=CC $(CC) -export-symbols-regex '^[^_]' $(LDFLAGS) -I. -I$(top_srcdir)
+ LINK_FOR_BUILD = $(LIBTOOL) --mode=link $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -I. -I$(top_srcdir)
+ @ON_WINDOWS@CXXLINK = $(CXX) $(LDFLAGS) -I. -I$(top_srcdir) -L.libs
+ @NOT_ON_WINDOWS@CXXLINK = $(LIBTOOL) --mode=link $(CXX) $(LDFLAGS) -I. -I$(top_srcdir)