summaryrefslogtreecommitdiff
path: root/lang/icon
diff options
context:
space:
mode:
authorjtb <jtb@pkgsrc.org>2003-07-24 16:01:41 +0000
committerjtb <jtb@pkgsrc.org>2003-07-24 16:01:41 +0000
commit43ab607e8af00095ffef159d454538ff8a0f2332 (patch)
tree6231064bb255caab17fc8185b47a936d95524198 /lang/icon
parent220c1f9e4eddecb69db9ecacf6ee2a535b83d8fe (diff)
downloadpkgsrc-43ab607e8af00095ffef159d454538ff8a0f2332.tar.gz
Fix logic in determining if pthreads is required.
Diffstat (limited to 'lang/icon')
-rw-r--r--lang/icon/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/lang/icon/Makefile b/lang/icon/Makefile
index 6bcb80aa74c..6a5422f7e62 100644
--- a/lang/icon/Makefile
+++ b/lang/icon/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2003/07/17 21:44:35 grant Exp $
+# $NetBSD: Makefile,v 1.29 2003/07/24 16:01:41 jtb Exp $
DISTNAME= icon.v942src
PKGNAME= icon-9.4.2
@@ -16,10 +16,11 @@ 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")
+.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")
+.else
PTHREAD_OPTS+= require native
.include "../../mk/pthread.buildlink2.mk"
.endif