pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc Auto-add the PTHREAD_* variables to CFLAGS, LDFLAGS, a...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c72c013cfed3
branches:  trunk
changeset: 485691:c72c013cfed3
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sat Dec 18 20:58:30 2004 +0000

description:
Auto-add the PTHREAD_* variables to CFLAGS, LDFLAGS, and LIBS so that
these packages will pick up -lpthread on NetBSD 1.6.x when linking
applications.

diffstat:

 net/aget/Makefile               |  3 ++-
 net/howl/Makefile               |  3 ++-
 sysutils/bacula/Makefile.common |  5 +++--
 www/privoxy/Makefile            |  3 ++-
 4 files changed, 9 insertions(+), 5 deletions(-)

diffs (70 lines):

diff -r 207df4245c3c -r c72c013cfed3 net/aget/Makefile
--- a/net/aget/Makefile Sat Dec 18 19:24:26 2004 +0000
+++ b/net/aget/Makefile Sat Dec 18 20:58:30 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2004/12/04 23:09:06 jlam Exp $
+# $NetBSD: Makefile,v 1.6 2004/12/18 20:58:30 jlam Exp $
 #
 
 DISTNAME=      aget-0.4
@@ -25,6 +25,7 @@
                        -e 's,CC =,\#CC =,'
 
 PTHREAD_OPTS+=         require
+PTHREAD_LDFLAGS+=      ${PTHREAD_LIBS}
 PTHREAD_AUTO_VARS=     yes
 
 .if ${OPSYS} == "SunOS"
diff -r 207df4245c3c -r c72c013cfed3 net/howl/Makefile
--- a/net/howl/Makefile Sat Dec 18 19:24:26 2004 +0000
+++ b/net/howl/Makefile Sat Dec 18 20:58:30 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2004/11/20 14:43:32 mjl Exp $
+# $NetBSD: Makefile,v 1.5 2004/12/18 20:58:30 jlam Exp $
 
 DISTNAME=              howl-0.9.7
 # PKGREVISION=         1
@@ -12,6 +12,7 @@
 USE_BUILDLINK3=                yes
 USE_LIBTOOL=           yes
 GNU_CONFIGURE=         yes
+PTHREAD_AUTO_VARS=     yes
 
 .include "../../devel/pkgconfig/buildlink3.mk"
 .include "../../mk/pthread.buildlink3.mk"
diff -r 207df4245c3c -r c72c013cfed3 sysutils/bacula/Makefile.common
--- a/sysutils/bacula/Makefile.common   Sat Dec 18 19:24:26 2004 +0000
+++ b/sysutils/bacula/Makefile.common   Sat Dec 18 20:58:30 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.3 2004/12/14 15:10:15 xtraeme Exp $
+# $NetBSD: Makefile.common,v 1.4 2004/12/18 20:58:30 jlam Exp $
 #
 
 DISTNAME=              bacula-1.36.0
@@ -53,7 +53,8 @@
 CONFIGURE_ARGS+=       --enable-smartalloc
 .endif
 
-PTHREAD_OPTS+= require
+PTHREAD_OPTS+=         require
+PTHREAD_AUTO_VARS=     yes
 
 PKG_GROUPS=    ${BACULA_GROUP}
 PKG_USERS=     ${BACULA_DIR_USER}:${BACULA_GROUP}
diff -r 207df4245c3c -r c72c013cfed3 www/privoxy/Makefile
--- a/www/privoxy/Makefile      Sat Dec 18 19:24:26 2004 +0000
+++ b/www/privoxy/Makefile      Sat Dec 18 20:58:30 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2004/10/03 00:18:27 tv Exp $
+# $NetBSD: Makefile,v 1.12 2004/12/18 20:58:30 jlam Exp $
 #
 
 DISTNAME=      ${PKGNAME_NOREV}-stable-src
@@ -37,6 +37,7 @@
 
 USE_PERL5=             build
 
+PTHREAD_AUTO_VARS=     yes
 PTHREAD_OPTS+=         require
 
 GNU_CONFIGURE=         YES



Home | Main Index | Thread Index | Old Index