diff options
author | jtb <jtb@pkgsrc.org> | 2003-07-10 13:46:04 +0000 |
---|---|---|
committer | jtb <jtb@pkgsrc.org> | 2003-07-10 13:46:04 +0000 |
commit | c39ecf6ebc14c7cd4ed7ecba68e7f8d3f743609e (patch) | |
tree | 11d677bf69fe3a605de4c0b8885f089643b42c44 /lang/icon/Makefile | |
parent | ad0f76be300957db10f3c447c829a575479b3bfc (diff) | |
download | pkgsrc-c39ecf6ebc14c7cd4ed7ecba68e7f8d3f743609e.tar.gz |
* Enable use of the posix thread context switch for architectures
for which no assembly context switch code is available.
* Use buildlink2.
Diffstat (limited to 'lang/icon/Makefile')
-rw-r--r-- | lang/icon/Makefile | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/lang/icon/Makefile b/lang/icon/Makefile index 8515d5bc477..66fd02f86b3 100644 --- a/lang/icon/Makefile +++ b/lang/icon/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.26 2003/07/02 22:30:36 jtb Exp $ +# $NetBSD: Makefile,v 1.27 2003/07/10 13:46:04 jtb Exp $ DISTNAME= icon.v942src PKGNAME= icon-9.4.2 @@ -10,13 +10,20 @@ MAINTAINER= tech-pkg@netbsd.org HOMEPAGE= http://www.cs.arizona.edu/icon/index.htm COMMENT= The Icon programming language -ONLY_FOR_PLATFORM= NetBSD-*-alpha NetBSD-*-i386 NetBSD-*-sparc NetBSD-*-powerpc \ - NetBSD-*-mipseb NetBSD-*-mipsel NetBSD-*-m68k NetBSD-*-vax - +USE_BUILDLINK2= YES +USE_X11= YES CONFIGURE_TARGET= X-Configure ALL_TARGET= All TEST_TARGET= Test +.if (${MACHINE_ARCH} != "alpha") || (${MACHINE_ARCH} != "i386") || \ + (${MACHINE_ARCH} != "sparc") || (${MACHINE_ARCH} != "powerpc") || \ + (${MACHINE_ARCH} != "mipseb") || (${MACHINE_ARCH} != "mipsel") || \ + (${MACHINE_ARCH} != "m68k") || (${MACHINE_ARCH} != "vax") +PTHREAD_OPTS+= require native +.include "../../mk/pthread.buildlink2.mk" +.endif + pre-build: ${MKDIR} ${WRKSRC}/lib/icon |