diff options
author | jlam <jlam> | 2004-12-18 20:58:30 +0000 |
---|---|---|
committer | jlam <jlam> | 2004-12-18 20:58:30 +0000 |
commit | 4d802d2f13a1ec76e31b94b467a3c10b2a9e5e84 (patch) | |
tree | 29c75ad32b1200e0ae75ec21630bbb85ac1d844d | |
parent | af062414cae2627214c1a4fad4eb39dd1f2acbfe (diff) | |
download | pkgsrc-4d802d2f13a1ec76e31b94b467a3c10b2a9e5e84.tar.gz |
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.
-rw-r--r-- | net/aget/Makefile | 3 | ||||
-rw-r--r-- | net/howl/Makefile | 3 | ||||
-rw-r--r-- | sysutils/bacula/Makefile.common | 5 | ||||
-rw-r--r-- | www/privoxy/Makefile | 3 |
4 files changed, 9 insertions, 5 deletions
diff --git a/net/aget/Makefile b/net/aget/Makefile index af140a794ab..328b08293f8 100644 --- a/net/aget/Makefile +++ b/net/aget/Makefile @@ -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 @@ SUBST_SED.options= -e 's,CFLAGS =,\#CFLAGS =,' \ -e 's,CC =,\#CC =,' PTHREAD_OPTS+= require +PTHREAD_LDFLAGS+= ${PTHREAD_LIBS} PTHREAD_AUTO_VARS= yes .if ${OPSYS} == "SunOS" diff --git a/net/howl/Makefile b/net/howl/Makefile index 77527680d5e..45f98bd15e2 100644 --- a/net/howl/Makefile +++ b/net/howl/Makefile @@ -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 @@ COMMENT= Zeroconf (Rendezvous) implementation USE_BUILDLINK3= yes USE_LIBTOOL= yes GNU_CONFIGURE= yes +PTHREAD_AUTO_VARS= yes .include "../../devel/pkgconfig/buildlink3.mk" .include "../../mk/pthread.buildlink3.mk" diff --git a/sysutils/bacula/Makefile.common b/sysutils/bacula/Makefile.common index b6546e91c8f..1bbf9065758 100644 --- a/sysutils/bacula/Makefile.common +++ b/sysutils/bacula/Makefile.common @@ -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 @@ BACULA_DB= postgresql 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 --git a/www/privoxy/Makefile b/www/privoxy/Makefile index 65805b90fa9..02a4dd6e7f8 100644 --- a/www/privoxy/Makefile +++ b/www/privoxy/Makefile @@ -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 @@ MAKEFILE= GNUmakefile USE_PERL5= build +PTHREAD_AUTO_VARS= yes PTHREAD_OPTS+= require GNU_CONFIGURE= YES |