summaryrefslogtreecommitdiff
path: root/archivers/zip/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/zip/patches/patch-aa')
-rw-r--r--archivers/zip/patches/patch-aa16
1 files changed, 16 insertions, 0 deletions
diff --git a/archivers/zip/patches/patch-aa b/archivers/zip/patches/patch-aa
new file mode 100644
index 00000000000..2728cfd9f12
--- /dev/null
+++ b/archivers/zip/patches/patch-aa
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.3 2009/08/30 22:52:58 dsainty Exp $
+
+Pass LDFLAGS at link time to include Pkgsrc's run time link path. Required
+for finding non-builtin bzip2 library.
+
+--- unix/Makefile.orig 2009-08-31 10:36:31.754566116 +1200
++++ unix/Makefile 2009-08-31 10:34:26.602678228 +1200
+@@ -23,7 +23,7 @@
+
+ # (to use the GNU compiler, change cc to gcc in CC)
+ CC = cc
+-BIND = $(CC)
++BIND = $(CC) $(LDFLAGS)
+ AS = $(CC) -c
+ CPP = /lib/cpp
+ E =