diff options
author | tron <tron> | 1999-05-24 21:25:00 +0000 |
---|---|---|
committer | tron <tron> | 1999-05-24 21:25:00 +0000 |
commit | c8b6bd921c4cdadd97864fabf43cb33efc9d9c98 (patch) | |
tree | 256ffdadaacbc57095e4b47181d5d5fe5b781a97 | |
parent | 12879801f2240593b975afa4a9915ace746a3e64 (diff) | |
download | pkgsrc-c8b6bd921c4cdadd97864fabf43cb33efc9d9c98.tar.gz |
Fix broken "ONLY_FOR_PLATFORM" check.
-rw-r--r-- | mk/bsd.pkg.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index a805b95da30..87b31318683 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.273 1999/05/24 20:39:50 tv Exp $ +# $NetBSD: bsd.pkg.mk,v 1.274 1999/05/24 21:25:00 tron Exp $ # # This file is in the public domain. # @@ -21,7 +21,7 @@ .include "../../mk/bsd.prefs.mk" ##### Define __PLATFORM_OK only if the OS matches the pkg's allowed list. -.if !empty(ONLY_FOR_PLATFORM) +.if defined(ONLY_FOR_PLATFORM) && !empty(ONLY_FOR_PLATFORM) .for __tmp__ in ${ONLY_FOR_PLATFORM} .if ${MACHINE_PLATFORM:M${__tmp__}} != "" __PLATFORM_OK?= |