summaryrefslogtreecommitdiff
path: root/archivers/pbzip2/patches/patch-aa
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2005-01-21 02:39:23 +0000
committertv <tv@pkgsrc.org>2005-01-21 02:39:23 +0000
commitd42c89880e005ef026a45a0905ed980a984fef00 (patch)
treee07b310ac04de7ad3228b6806bd301c58c424f6a /archivers/pbzip2/patches/patch-aa
parentf2e9270b55fde0bad8c655925b7d43a204c7d27f (diff)
downloadpkgsrc-d42c89880e005ef026a45a0905ed980a984fef00.tar.gz
Use PTHREAD_AUTO_VARS to get the correct compile options; fixes Interix.
Diffstat (limited to 'archivers/pbzip2/patches/patch-aa')
-rw-r--r--archivers/pbzip2/patches/patch-aa6
1 files changed, 3 insertions, 3 deletions
diff --git a/archivers/pbzip2/patches/patch-aa b/archivers/pbzip2/patches/patch-aa
index 0ed4c7426c7..a1946bd6d36 100644
--- a/archivers/pbzip2/patches/patch-aa
+++ b/archivers/pbzip2/patches/patch-aa
@@ -1,6 +1,6 @@
-$NetBSD: patch-aa,v 1.1 2005/01/14 13:08:51 wiz Exp $
+$NetBSD: patch-aa,v 1.2 2005/01/21 02:39:23 tv Exp $
---- Makefile.orig 2005-01-09 19:58:48.000000000 +0100
+--- Makefile.orig 2005-01-09 13:58:48.000000000 -0500
+++ Makefile
@@ -1,10 +1,9 @@
# Make file for parallel BZIP2
@@ -10,7 +10,7 @@ $NetBSD: patch-aa,v 1.1 2005/01/14 13:08:51 wiz Exp $
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
++ $(LINK.cc) -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o pbzip2 pbzip2.cpp -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