diff options
author | wiz <wiz@pkgsrc.org> | 2005-01-14 13:08:51 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2005-01-14 13:08:51 +0000 |
commit | e959dbc77cb0c4efb6b863d552d80648b66d297f (patch) | |
tree | 617b31ed4bff28b3a480cdd82d0577f7023ab244 | |
parent | e05f3f488a1b8dcd87a171a7b732aac7df982f8a (diff) | |
download | pkgsrc-e959dbc77cb0c4efb6b863d552d80648b66d297f.tar.gz |
Fix build on 1.6.2 by respecting LDFLAGS (and CXXFLAGS, while I am here).
-rw-r--r-- | archivers/pbzip2/distinfo | 3 | ||||
-rw-r--r-- | archivers/pbzip2/patches/patch-aa | 16 |
2 files changed, 18 insertions, 1 deletions
diff --git a/archivers/pbzip2/distinfo b/archivers/pbzip2/distinfo index d15efd0a65c..de170bca5c6 100644 --- a/archivers/pbzip2/distinfo +++ b/archivers/pbzip2/distinfo @@ -1,4 +1,5 @@ -$NetBSD: distinfo,v 1.1.1.1 2005/01/12 13:45:27 wiz Exp $ +$NetBSD: distinfo,v 1.2 2005/01/14 13:08:51 wiz Exp $ SHA1 (pbzip2-0.8.3.tar.gz) = d1b9aaa822b196f572eeabf9f501957093cb3466 Size (pbzip2-0.8.3.tar.gz) = 13145 bytes +SHA1 (patch-aa) = c937d872b3c35d6e162df7f61f6698e0e538a54b diff --git a/archivers/pbzip2/patches/patch-aa b/archivers/pbzip2/patches/patch-aa new file mode 100644 index 00000000000..0ed4c7426c7 --- /dev/null +++ b/archivers/pbzip2/patches/patch-aa @@ -0,0 +1,16 @@ +$NetBSD: patch-aa,v 1.1 2005/01/14 13:08:51 wiz Exp $ + +--- Makefile.orig 2005-01-09 19:58:48.000000000 +0100 ++++ Makefile +@@ -1,10 +1,9 @@ + # Make file for parallel BZIP2 +-CC=g++ + + all: pbzip2 + + pbzip2: pbzip2.cpp +- $(CC) -O3 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o pbzip2 pbzip2.cpp -pthread -lpthread -lbz2 ++ $(CXX) $(CXXFLAGS) $(LDFLAGS) -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o pbzip2 pbzip2.cpp -pthread -lpthread -lbz2 + + pbzip2-static: libbz2.a pbzip2.cpp + $(CC) -O3 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o pbzip2 pbzip2.cpp -pthread -lpthread -L. -lbz2 |