diff options
author | tron <tron@pkgsrc.org> | 2004-03-30 18:48:44 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2004-03-30 18:48:44 +0000 |
commit | 645ddbd0689b1cef1702ec9564f4c9bd3fe88e28 (patch) | |
tree | bea4d1d781801f0ffd69539793812ddda52ed8e3 /misc | |
parent | 1396cc9d2758622d01362a03447e845aeb967e96 (diff) | |
download | pkgsrc-645ddbd0689b1cef1702ec9564f4c9bd3fe88e28.tar.gz |
- Always linking with a threading library because Tcl/Tk 8.4.x needs it.
- Use buildlink3 framework.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/nxtvepg/Makefile | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/misc/nxtvepg/Makefile b/misc/nxtvepg/Makefile index 38fc271c509..69dcfcb694b 100644 --- a/misc/nxtvepg/Makefile +++ b/misc/nxtvepg/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.34 2004/03/22 03:34:35 kristerw Exp $ +# $NetBSD: Makefile,v 1.35 2004/03/30 18:48:44 tron Exp $ DISTNAME= nxtvepg-2.6.0 PKGREVISION= 1 @@ -16,16 +16,17 @@ ONLY_FOR_PLATFORM= NetBSD-1.4[Y-Z]-* NetBSD-1.4Z[A-Z]-* \ USE_PERL5= yes USE_GNU_TOOLS+= make USE_X11= yes -USE_BUILDLINK2= yes - -.include "../../mk/pthread.buildlink2.mk" -PTHREAD_OPTS=native #only native threads work -.if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "native") -CFLAGS+=-DUSE_THREADS=1 -LDFLAGS+=-pthread -MAKE_ENV+=WANT_THREADS=1 -.endif +USE_BUILDLINK3= yes + +.include "../../mk/pthread.buildlink3.mk" +# Only native threads work. +.if ${PTHREAD_TYPE} == "native" +CFLAGS+= -DUSE_THREADS=1 +MAKE_ENV+= WANT_THREADS=1 +.endif +# Required for Tcl/Tk 8.4 +LDFLAGS+= ${BUILDLINK_LDADD.pthread} pre-configure: cd ${WRKSRC}; \ @@ -37,5 +38,5 @@ pre-configure: # cd ${WRKSRC}; \ # ${GMAKE} depend -.include "../../x11/tk/buildlink2.mk" +.include "../../x11/tk/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |