diff options
author | jlam <jlam@pkgsrc.org> | 2004-11-12 06:39:19 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-11-12 06:39:19 +0000 |
commit | af591191d2b91375c67ab57df64d383e66055294 (patch) | |
tree | ddbacf3026d39d6b23e622ac51745a4f7db32d44 /devel/librfuncs | |
parent | 675d464c92282081571087f8ad824d1cae9d8414 (diff) | |
download | pkgsrc-af591191d2b91375c67ab57df64d383e66055294.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 'devel/librfuncs')
-rw-r--r-- | devel/librfuncs/Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/devel/librfuncs/Makefile b/devel/librfuncs/Makefile index 232d1f30488..80eda3b0f25 100644 --- a/devel/librfuncs/Makefile +++ b/devel/librfuncs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2004/11/08 11:10:00 shannonjr Exp $ +# $NetBSD: Makefile,v 1.7 2004/11/12 06:39:20 jlam Exp $ # DISTNAME= librfuncs-1.0.5 @@ -18,12 +18,10 @@ USE_LIBTOOL= yes TEST_TARGET= check .include "../../mk/pthread.buildlink3.mk" -.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "none" +.if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "none") CONFIGURE_ARGS+= --disable-threads .else CONFIGURE_ARGS+= --enable-threads -CFLAGS+= ${PTHREAD_CFLAGS} -LDFLAGS+= ${PTHREAD_LDFLAGS} .endif .include "../../mk/bsd.pkg.mk" |