summaryrefslogtreecommitdiff
path: root/net/aget/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2004-12-18 20:58:30 +0000
committerjlam <jlam>2004-12-18 20:58:30 +0000
commit66aea5733885e6d059d2659e2855e9c3aca5b906 (patch)
tree29c75ad32b1200e0ae75ec21630bbb85ac1d844d /net/aget/Makefile
parent6d72e484fd073dd86d355d2e5f0663e3313775ce (diff)
downloadpkgsrc-66aea5733885e6d059d2659e2855e9c3aca5b906.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.
Diffstat (limited to 'net/aget/Makefile')
-rw-r--r--net/aget/Makefile3
1 files changed, 2 insertions, 1 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"