pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/mk
Module Name: pkgsrc
Committed By: schmonz
Date: Thu Nov 19 09:16:38 UTC 2020
Modified Files:
pkgsrc/mk: djbware.mk
Log Message:
Run without errors when LICENSE is undefined.
To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 pkgsrc/mk/djbware.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/mk/djbware.mk
diff -u pkgsrc/mk/djbware.mk:1.31 pkgsrc/mk/djbware.mk:1.32
--- pkgsrc/mk/djbware.mk:1.31 Thu Nov 19 08:11:18 2020
+++ pkgsrc/mk/djbware.mk Thu Nov 19 09:16:38 2020
@@ -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}
Home |
Main Index |
Thread Index |
Old Index