summaryrefslogtreecommitdiff
path: root/devel/pwlib
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-08-01 05:48:00 +0000
committerjlam <jlam@pkgsrc.org>2002-08-01 05:48:00 +0000
commit75e61cb884ee8ba12235cd6a05a62b1c25c5fba7 (patch)
treeddb090c3c0b454f9c8402f5b1724832e17cddad6 /devel/pwlib
parent74efb51f8c38659285bc7369ad4bc06ca807eb44 (diff)
downloadpkgsrc-75e61cb884ee8ba12235cd6a05a62b1c25c5fba7.tar.gz
Adjust to new pthread.buildlink.mk: remove USE_PTHREAD and replace with
appropriate PTHREAD_OPTS incantation, and move the checks for the value of PTHREAD_TYPE below the inclusion of pthread.buildlink.mk.
Diffstat (limited to 'devel/pwlib')
-rw-r--r--devel/pwlib/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/devel/pwlib/Makefile b/devel/pwlib/Makefile
index a5b7662099b..089bf91dce1 100644
--- a/devel/pwlib/Makefile
+++ b/devel/pwlib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2002/02/08 06:29:42 jlam Exp $
+# $NetBSD: Makefile,v 1.13 2002/08/01 05:48:10 jlam Exp $
#
DISTNAME= pwlib_min_1.1pl17
@@ -21,9 +21,7 @@ WRKSRC= ${WRKDIR}/pwlib
USE_BUILDLINK_ONLY= yes
USE_GMAKE= yes
USE_LIBTOOL= yes
-USE_PTHREAD= native unproven-pthreads
-
-.include "../../mk/bsd.prefs.mk"
+PTHREAD_OPTS+= native
MAKE_ENV+= PWLIBDIR=${WRKSRC}
MAKE_ENV+= CC="${CC}"
@@ -51,4 +49,9 @@ post-install:
done
.include "../../mk/pthread.buildlink.mk"
+
+.if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "none")
+. include "../../devel/unproven-pthreads/buildlink.mk"
+.endif
+
.include "../../mk/bsd.pkg.mk"