summaryrefslogtreecommitdiff
path: root/mk/pthread.buildlink3.mk
diff options
context:
space:
mode:
authorjlam <jlam>2004-11-12 06:39:19 +0000
committerjlam <jlam>2004-11-12 06:39:19 +0000
commitbe3ea8c3d40a099627e8a8fae5f4f734141bdf86 (patch)
treeddbacf3026d39d6b23e622ac51745a4f7db32d44 /mk/pthread.buildlink3.mk
parentadb5044aacd166f8bf54dbeeddc97a7f1837123d (diff)
downloadpkgsrc-be3ea8c3d40a099627e8a8fae5f4f734141bdf86.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 'mk/pthread.buildlink3.mk')
-rw-r--r--mk/pthread.buildlink3.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/mk/pthread.buildlink3.mk b/mk/pthread.buildlink3.mk
index f6585ab4991..0b4640a7145 100644
--- a/mk/pthread.buildlink3.mk
+++ b/mk/pthread.buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: pthread.buildlink3.mk,v 1.14 2004/11/12 05:20:01 jlam Exp $
+# $NetBSD: pthread.buildlink3.mk,v 1.15 2004/11/12 06:39:20 jlam Exp $
#
# The pthreads strategy for pkgsrc is to "bless" a particular pthread
# package as the Official Pthread Replacement (OPR). A package that uses
@@ -171,7 +171,6 @@ PKG_SKIP_REASON= "${PKGNAME} needs pthreads, but ${_PKG_PTHREAD_BUILDLINK3_MK} i
PTHREAD_CFLAGS= ${BUILDLINK_CFLAGS.pthread}
PTHREAD_CFLAGS+= ${BUILDLINK_CPPFLAGS.pthread}
PTHREAD_LDFLAGS= ${BUILDLINK_LDFLAGS.pthread}
-PTHREAD_LDFLAGS+= ${PTHREAD_LIBS} # XXX This should be removed!
PTHREAD_LIBS= ${BUILDLINK_LIBS.pthread}
CONFIGURE_ENV+= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}"
CONFIGURE_ENV+= PTHREAD_LDFLAGS="${PTHREAD_LDFLAGS}"