diff options
author | schmonz <schmonz@pkgsrc.org> | 2020-11-19 09:16:38 +0000 |
---|---|---|
committer | schmonz <schmonz@pkgsrc.org> | 2020-11-19 09:16:38 +0000 |
commit | 4b6d778f49b179788804874cb5b22192148c40ba (patch) | |
tree | 5ccaa07b068afad5668cdcc5414f3d30b0a48e89 /mk | |
parent | a4d68444d8a4268d773e672224c559fd4e4ef19e (diff) | |
download | pkgsrc-4b6d778f49b179788804874cb5b22192148c40ba.tar.gz |
Run without errors when LICENSE is undefined.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/djbware.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/djbware.mk b/mk/djbware.mk index 87b32fcd3a4..780b812d127 100644 --- a/mk/djbware.mk +++ b/mk/djbware.mk @@ -1,4 +1,4 @@ -# $NetBSD: djbware.mk,v 1.31 2020/11/19 08:11:18 schmonz Exp $ +# $NetBSD: djbware.mk,v 1.32 2020/11/19 09:16:38 schmonz Exp $ # # Makefile fragment for packages with djb-style build machinery # @@ -26,8 +26,8 @@ DJB_CONFIG_PREFIX?= ${PREFIX} DJB_CONFIG_HOME?= conf-home DJB_CONFIG_CMDS?= ${DO_NADA} -.if ${LICENSE} == "djb-nonlicense" -# So-licensed packages that install totally unmodified may want to opt out +.if defined(LICENSE) && ${LICENSE} == "djb-nonlicense" +# Nonlicensed packages that install totally unmodified may want to opt out RESTRICTED?= modified source and binaries may not be distributed NO_BIN_ON_CDROM?= ${RESTRICTED} NO_BIN_ON_FTP?= ${RESTRICTED} |