diff options
author | tron <tron@pkgsrc.org> | 1999-05-24 21:25:00 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 1999-05-24 21:25:00 +0000 |
commit | 4d8be1fe2985e0260137fa7b447912857aaf299e (patch) | |
tree | 256ffdadaacbc57095e4b47181d5d5fe5b781a97 | |
parent | bf0e8b0f6a6c25d9f219c0efbc50cb2859838c00 (diff) | |
download | pkgsrc-4d8be1fe2985e0260137fa7b447912857aaf299e.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?= |