summaryrefslogtreecommitdiff
path: root/lang/icon/Makefile
diff options
context:
space:
mode:
authorjtb <jtb>2003-07-24 16:01:41 +0000
committerjtb <jtb>2003-07-24 16:01:41 +0000
commitacbe7d5e64efd92ba911ece7f7ef553246a20059 (patch)
tree6231064bb255caab17fc8185b47a936d95524198 /lang/icon/Makefile
parentdadecb205455d6a646aed17987e9b5a426fab666 (diff)
downloadpkgsrc-acbe7d5e64efd92ba911ece7f7ef553246a20059.tar.gz
Fix logic in determining if pthreads is required.
Diffstat (limited to 'lang/icon/Makefile')
-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