diff options
author | jlam <jlam> | 2002-08-01 05:48:00 +0000 |
---|---|---|
committer | jlam <jlam> | 2002-08-01 05:48:00 +0000 |
commit | 0667348e2457442483cc1061eff529caade5d9eb (patch) | |
tree | ddb090c3c0b454f9c8402f5b1724832e17cddad6 /devel/pwlib | |
parent | 67259e22f565d221aaa481aa2ada437d89be3c4a (diff) | |
download | pkgsrc-0667348e2457442483cc1061eff529caade5d9eb.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/Makefile | 11 |
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" |