diff options
author | jtb <jtb> | 2003-07-10 13:46:04 +0000 |
---|---|---|
committer | jtb <jtb> | 2003-07-10 13:46:04 +0000 |
commit | 4f2cc849cae1a36b6d2cea78c8a322b6eafe4887 (patch) | |
tree | 11d677bf69fe3a605de4c0b8885f089643b42c44 | |
parent | 2d7002b5517edd996a7f27b44d3603de2165c508 (diff) | |
download | pkgsrc-4f2cc849cae1a36b6d2cea78c8a322b6eafe4887.tar.gz |
* Enable use of the posix thread context switch for architectures
for which no assembly context switch code is available.
* Use buildlink2.
-rw-r--r-- | lang/icon/Makefile | 15 | ||||
-rw-r--r-- | lang/icon/distinfo | 4 | ||||
-rw-r--r-- | lang/icon/patches/patch-ah | 7 |
3 files changed, 17 insertions, 9 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 diff --git a/lang/icon/distinfo b/lang/icon/distinfo index e3c9f5d7160..a096fa33afc 100644 --- a/lang/icon/distinfo +++ b/lang/icon/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.10 2003/06/29 23:13:02 jtb Exp $ +$NetBSD: distinfo,v 1.11 2003/07/10 13:46:04 jtb Exp $ SHA1 (icon.v942src.tgz) = 9536e9346188deb2dc5853e03b5f7a85991314b1 Size (icon.v942src.tgz) = 3204076 bytes @@ -9,7 +9,7 @@ SHA1 (patch-ad) = 20f718bcaed88e210d9c4e5d5b652043dff04f00 SHA1 (patch-ae) = 6e83f7f256e096cb0ac879cc03766c12f05ebf97 SHA1 (patch-af) = b29abc57596d3e8f1bbb531539215aa5283cae5b SHA1 (patch-ag) = 8d9b913a1d28adf6c672a09ab45516f13f6f5459 -SHA1 (patch-ah) = 4d1571f0ce79254eaa71aefd7da784d33ae4a040 +SHA1 (patch-ah) = 912bdb9620807a9c0e205c694416805814e718dd SHA1 (patch-ai) = 7009e2d51e3cde5f3ef97f69a85ab217ef1c13bf SHA1 (patch-aj) = a712ff27937237a4c69f62605ab5310056a04016 SHA1 (patch-ak) = cd66608d05ffc9f953bad63781632c6c416b4bc7 diff --git a/lang/icon/patches/patch-ah b/lang/icon/patches/patch-ah index e697a461a26..fc6103ecfbc 100644 --- a/lang/icon/patches/patch-ah +++ b/lang/icon/patches/patch-ah @@ -1,9 +1,9 @@ -$NetBSD: patch-ah,v 1.5 2003/06/06 08:58:43 jtb Exp $ +$NetBSD: patch-ah,v 1.6 2003/07/10 13:46:05 jtb Exp $ --- /dev/null +++ config/netbsd/Makedefs -@@ -0,0 +1,18 @@ -+# Makefile definitions from config/unix/intel_netbsd +@@ -0,0 +1,19 @@ ++# Makefile definitions from config/netbsd + +# CC C compiler +# CFLAGS flags for building C files @@ -21,3 +21,4 @@ $NetBSD: patch-ah,v 1.5 2003/06/06 08:58:43 jtb Exp $ +XLIBS = -Wl,-R$(X11BASE)/lib -L$(X11BASE)/lib -lX11 +XPMDEFS = -DZPIPE -I$(X11BASE)/include +GDIR= xpm ++TLIBS= -lpthread |