diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2007-04-19 17:26:01 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2007-04-19 17:26:01 +0000 |
commit | c5fd7dd11be6508485ccff0af80bc5d8297c0948 (patch) | |
tree | 867cdce219c9cf88170b4dd0f428fafbf1c059f9 /emulators | |
parent | 8ddf11de7252806f767fab91dcf9d3ccc988d31d (diff) | |
download | pkgsrc-c5fd7dd11be6508485ccff0af80bc5d8297c0948.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.mk | 5 |
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 |