diff options
author | Jeroen Roovers <jer@gentoo.org> | 2009-03-20 20:00:23 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2009-03-20 20:00:23 +0000 |
commit | 42a0b98a03fd4a27df2fbfc422b2e1d12a4c3bcd (patch) | |
tree | 9aafdab5b96a248c7bfd3fab6513936e1f3da9b8 /app-arch/pbzip2/files | |
parent | Marked ~ppc/~ppc64 for bug #258616. (diff) | |
download | gentoo-2-42a0b98a03fd4a27df2fbfc422b2e1d12a4c3bcd.tar.gz gentoo-2-42a0b98a03fd4a27df2fbfc422b2e1d12a4c3bcd.tar.bz2 gentoo-2-42a0b98a03fd4a27df2fbfc422b2e1d12a4c3bcd.zip |
Respect LDFLAGS (bug #263121).
(Portage version: 2.2_rc26/cvs/Linux i686)
Diffstat (limited to 'app-arch/pbzip2/files')
-rw-r--r-- | app-arch/pbzip2/files/pbzip2-1.0.5-ldflags.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/app-arch/pbzip2/files/pbzip2-1.0.5-ldflags.patch b/app-arch/pbzip2/files/pbzip2-1.0.5-ldflags.patch new file mode 100644 index 000000000000..3042b30ea275 --- /dev/null +++ b/app-arch/pbzip2/files/pbzip2-1.0.5-ldflags.patch @@ -0,0 +1,16 @@ +--- pbzip2-1.0.5/Makefile.orig 2009-03-20 20:52:48.000000000 +0100 ++++ pbzip2-1.0.5/Makefile 2009-03-20 20:54:30.000000000 +0100 +@@ -21,11 +21,11 @@ + + # Standard pbzip2 compile + pbzip2: pbzip2.cpp +- $(CC) $(CFLAGS) $^ -o pbzip2 -pthread -lpthread -lbz2 ++ $(CC) $(CFLAGS) $(LDFLAGS) $^ -o pbzip2 -pthread -lpthread -lbz2 + + # Choose this if you want to compile in a static version of the libbz2 library + pbzip2-static: pbzip2.cpp libbz2.a +- $(CC) $(CFLAGS) $^ -o pbzip2 -pthread -lpthread -I. -L. -lbz2 ++ $(CC) $(CFLAGS) $(LDFLAGS) $^ -o pbzip2 -pthread -lpthread -I. -L. -lbz2 + + # Install the binary pbzip2 program and man page + install: pbzip2 |