summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-perl/Net-DNS/files/Net-DNS-0.64-ar.patch')
-rw-r--r--dev-perl/Net-DNS/files/Net-DNS-0.64-ar.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-perl/Net-DNS/files/Net-DNS-0.64-ar.patch b/dev-perl/Net-DNS/files/Net-DNS-0.64-ar.patch
new file mode 100644
index 000000000000..5f55eddbd277
--- /dev/null
+++ b/dev-perl/Net-DNS/files/Net-DNS-0.64-ar.patch
@@ -0,0 +1,13 @@
+The linker on Darwin/x86 needs archives with an index, so create one.
+
+--- Makefile.PL
++++ Makefile.PL
+@@ -260,7 +260,7 @@
+ cover
+
+ netdns$(LIB_EXT): netdns$(OBJ_EXT)
+- $(AR) '.($^O eq 'MSWin32' && $Config{'cc'} eq 'cl'?'/OUT:':'cr ').
++ $(AR) '.($^O eq 'MSWin32' && $Config{'cc'} eq 'cl'?'/OUT:':'crs ').
+ 'netdns$(LIB_EXT) netdns$(OBJ_EXT)
+
+ ';