summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2007-04-19 17:26:01 +0000
committerxtraeme <xtraeme@pkgsrc.org>2007-04-19 17:26:01 +0000
commit6255cc51c8960e18ad1e28e4d1a5b72156352282 (patch)
tree867cdce219c9cf88170b4dd0f428fafbf1c059f9 /emulators
parentb29522fce1144154342206f381bd75e22eaf9547 (diff)
downloadpkgsrc-6255cc51c8960e18ad1e28e4d1a5b72156352282.tar.gz
Check if ONLY_FOR_PLATFORM is defined before using .if empty...
Reported by Michai Chelaru.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/suse100_linux/compat32.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/emulators/suse100_linux/compat32.mk b/emulators/suse100_linux/compat32.mk
index c41a7953c7b..192b6acdd18 100644
--- a/emulators/suse100_linux/compat32.mk
+++ b/emulators/suse100_linux/compat32.mk
@@ -1,4 +1,4 @@
-# $NetBSD: compat32.mk,v 1.1 2007/04/19 15:31:07 xtraeme Exp $
+# $NetBSD: compat32.mk,v 1.2 2007/04/19 17:26:01 xtraeme Exp $
#
.ifndef SUSE_LINUX_COMPAT32_MK
@@ -60,7 +60,8 @@ EMULSUBDIR:= emul/linux32
. else
OPSYS_EMULSUBDIR= linux
SUSE_COMPAT32_SUFFIX= # empty
-. if empty(ONLY_FOR_PLATFORM:MNetBSD-*-x86_64)
+. if defined(ONLY_FOR_PLATFORM) && \
+ empty(ONLY_FOR_PLATFORM:MNetBSD-*-x86_64)
PKG_FAIL_REASON+= ${MYSTRING}
. endif
. endif # end of PKG_OPTIONS.suse=compat32