pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Found another two uses of .ifndef and .ifdef.
details: https://anonhg.NetBSD.org/pkgsrc/rev/c54f1a367dc5
branches: trunk
changeset: 493750:c54f1a367dc5
user: rillig <rillig%pkgsrc.org@localhost>
date: Sat May 14 02:03:00 2005 +0000
description:
Found another two uses of .ifndef and .ifdef.
Converted them to .if [!]defined().
diffstat:
mk/bsd.pkg.mk | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 23db8b719e31 -r c54f1a367dc5 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk Sat May 14 01:51:52 2005 +0000
+++ b/mk/bsd.pkg.mk Sat May 14 02:03:00 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1646 2005/05/14 01:50:38 rillig Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1647 2005/05/14 02:03:00 rillig Exp $
#
# This file is in the public domain.
#
@@ -1069,14 +1069,14 @@
. endif
. if defined(LICENSE)
-. ifdef ACCEPTABLE_LICENSES
+. if defined(ACCEPTABLE_LICENSES)
. for _lic in ${ACCEPTABLE_LICENSES}
. if ${LICENSE} == "${_lic}"
_ACCEPTABLE= yes
. endif # LICENSE == _lic
. endfor # _lic
. endif # ACCEPTABLE_LICENSES
-. ifndef _ACCEPTABLE
+. if !defined(_ACCEPTABLE)
PKG_FAIL_REASON+= "${PKGNAME} has an unacceptable license: ${LICENSE}." \
" To view the license, enter \"${MAKE} show-license\"." \
" To indicate acceptance, add this line to your /etc/mk.conf:" \
Home |
Main Index |
Thread Index |
Old Index