summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authortv <tv>1998-07-26 22:20:22 +0000
committertv <tv>1998-07-26 22:20:22 +0000
commitab0e2ebeae81224883f33178c2aaeab47c7beea3 (patch)
tree6a49ad7f6ebbfbf9711e3c2e06d2be287e2f34a4 /mk
parentd4986467ced17981a72cc040bdb01158f393c971 (diff)
downloadpkgsrc-ab0e2ebeae81224883f33178c2aaeab47c7beea3.tar.gz
Add glob-style wildcards to ONLY_FOR_ARCHS.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index fc5454c625a..053183fe02a 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.128 1998/07/26 09:27:15 mycroft Exp $
+# $NetBSD: bsd.pkg.mk,v 1.129 1998/07/26 22:20:22 tv Exp $
#
# This file is in the public domain.
#
@@ -25,7 +25,7 @@ OPSYS!= uname -s
.if defined(ONLY_FOR_ARCHS)
.for __ARCH in ${ONLY_FOR_ARCHS}
-.if ${MACHINE_ARCH} == "${__ARCH}"
+.if ${MACHINE_ARCH:M${__ARCH}} != ""
__ARCH_OK?= 1
.endif
.endfor