summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2007-04-19 17:26:01 +0000
committerxtraeme <xtraeme>2007-04-19 17:26:01 +0000
commitc36d3cbacb861bce8858bafd7a47336a025f053c (patch)
tree867cdce219c9cf88170b4dd0f428fafbf1c059f9 /emulators
parente94fb2847e436d677fdffdef1d7dea92ef811357 (diff)
downloadpkgsrc-c36d3cbacb861bce8858bafd7a47336a025f053c.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