pkgsrc - initial commit
[pkgsrc.git] / archivers / zip / patches / patch-aa
1 $NetBSD: patch-aa,v 1.3 2009/08/30 22:52:58 dsainty Exp $
2
3 Pass LDFLAGS at link time to include Pkgsrc's run time link path.  Required
4 for finding non-builtin bzip2 library.
5
6 --- unix/Makefile.orig  2009-08-31 10:36:31.754566116 +1200
7 +++ unix/Makefile       2009-08-31 10:34:26.602678228 +1200
8 @@ -23,7 +23,7 @@
9  
10  # (to use the GNU compiler, change cc to gcc in CC)
11  CC = cc
12 -BIND = $(CC)
13 +BIND = $(CC) $(LDFLAGS)
14  AS = $(CC) -c
15  CPP = /lib/cpp
16  E =