pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/archivers/pbzip2 Use PTHREAD_AUTO_VARS to get the corr...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5b89d8d7c0aa
branches:  trunk
changeset: 487850:5b89d8d7c0aa
user:      tv <tv%pkgsrc.org@localhost>
date:      Fri Jan 21 02:39:23 2005 +0000

description:
Use PTHREAD_AUTO_VARS to get the correct compile options; fixes Interix.

diffstat:

 archivers/pbzip2/Makefile         |  3 ++-
 archivers/pbzip2/distinfo         |  4 ++--
 archivers/pbzip2/patches/patch-aa |  6 +++---
 3 files changed, 7 insertions(+), 6 deletions(-)

diffs (49 lines):

diff -r 593f3b041862 -r 5b89d8d7c0aa archivers/pbzip2/Makefile
--- a/archivers/pbzip2/Makefile Fri Jan 21 02:33:47 2005 +0000
+++ b/archivers/pbzip2/Makefile Fri Jan 21 02:39:23 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2005/01/12 13:45:27 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2005/01/21 02:39:23 tv Exp $
 #
 
 DISTNAME=              pbzip2-0.8.3
@@ -10,6 +10,7 @@
 COMMENT=               Parallel implementation of the bzip2 block-sorting file compressor
 
 USE_BUILDLINK3=                yes
+PTHREAD_AUTO_VARS=     yes
 
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/pbzip2 ${PREFIX}/bin
diff -r 593f3b041862 -r 5b89d8d7c0aa archivers/pbzip2/distinfo
--- a/archivers/pbzip2/distinfo Fri Jan 21 02:33:47 2005 +0000
+++ b/archivers/pbzip2/distinfo Fri Jan 21 02:39:23 2005 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2005/01/14 13:08:51 wiz Exp $
+$NetBSD: distinfo,v 1.3 2005/01/21 02:39:23 tv Exp $
 
 SHA1 (pbzip2-0.8.3.tar.gz) = d1b9aaa822b196f572eeabf9f501957093cb3466
 Size (pbzip2-0.8.3.tar.gz) = 13145 bytes
-SHA1 (patch-aa) = c937d872b3c35d6e162df7f61f6698e0e538a54b
+SHA1 (patch-aa) = fa47ae1bab608b8d92e6788fb077a4f4ad9283e5
diff -r 593f3b041862 -r 5b89d8d7c0aa archivers/pbzip2/patches/patch-aa
--- a/archivers/pbzip2/patches/patch-aa Fri Jan 21 02:33:47 2005 +0000
+++ b/archivers/pbzip2/patches/patch-aa Fri Jan 21 02:39:23 2005 +0000
@@ -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 @@
  
  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



Home | Main Index | Thread Index | Old Index