summaryrefslogtreecommitdiff
path: root/net/aget
diff options
context:
space:
mode:
authorjlam <jlam>2004-11-12 06:39:19 +0000
committerjlam <jlam>2004-11-12 06:39:19 +0000
commit84a5a45c75e998d94c40f85c5e67ef62bd981c25 (patch)
treeddbacf3026d39d6b23e622ac51745a4f7db32d44 /net/aget
parent1f3c0a7f71e5f22757f741cdaede1a808025ffd1 (diff)
downloadpkgsrc-84a5a45c75e998d94c40f85c5e67ef62bd981c25.tar.gz
Remove redundant uses of PTHREAD_{CFLAGS,LDFLAGS} now that they're added
automatically by pthread.buildlink3.mk. Also, factor out the pthread library out of PTHREAD_LDFLAGS into a standalone variable PTHREAD_LIBS and use it in packages where necessary (usually the ones that don't have a GNU configure script).
Diffstat (limited to 'net/aget')
-rw-r--r--net/aget/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/net/aget/Makefile b/net/aget/Makefile
index b2cd2e3d272..fe00963f986 100644
--- a/net/aget/Makefile
+++ b/net/aget/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2004/02/18 04:27:49 minskim Exp $
+# $NetBSD: Makefile,v 1.3 2004/11/12 06:39:20 jlam Exp $
#
DISTNAME= aget-0.4
@@ -25,8 +25,7 @@ SUBST_SED.options= -e 's,CFLAGS =,\#CFLAGS =,' \
-e 's,CC =,\#CC =,'
PTHREAD_OPTS+= require
-CFLAGS+= ${PTHREAD_CFLAGS}
-LDFLAGS+= ${PTHREAD_LDFLAGS}
+LDFLAGS+= ${PTHREAD_LIBS}
.if ${OPSYS} == "SunOS"
CFLAGS+= -DSOLARIS