summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruebayasi <uebayasi@pkgsrc.org>2002-12-27 06:53:42 +0000
committeruebayasi <uebayasi@pkgsrc.org>2002-12-27 06:53:42 +0000
commit289160ecdb861a8ee08681160a27085052a92621 (patch)
tree9c9d5e7b6b0d152ac81719c2d58c4c388ff31520
parent2bc761536b31b9bfc5f944e82bf7cd0848973ba7 (diff)
downloadpkgsrc-289160ecdb861a8ee08681160a27085052a92621.tar.gz
* Garbage collect IGNORE -> SKIP migration.
* {NOT,ONLY}_FOR_PLATHOME mismatch is not an error. Set PKG_SKIP_REASON for those cases. This makes bulk builds happier.
-rw-r--r--Packages.txt4
-rw-r--r--mk/bsd.pkg.mk16
2 files changed, 10 insertions, 10 deletions
diff --git a/Packages.txt b/Packages.txt
index 9033824d17f..b38d8ab1761 100644
--- a/Packages.txt
+++ b/Packages.txt
@@ -1,4 +1,4 @@
-# $NetBSD: Packages.txt,v 1.274 2002/12/10 15:02:24 schmonz Exp $
+# $NetBSD: Packages.txt,v 1.275 2002/12/27 06:53:42 uebayasi Exp $
###########################################################################
==========================
@@ -1866,7 +1866,7 @@ directly by typing:
If you even decide to ignore NO_{SRC,BIN}_ON_{FTP,CDROM}, then you can
get all & everything by typing
- % make fetch NO_IGNORE=yes
+ % make fetch NO_SKIP=yes
10.7 How to fetch files from behind a firewall
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 6ad176ca964..e24da31ab1b 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1116 2002/12/26 20:52:13 jlam Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1117 2002/12/27 06:53:45 uebayasi Exp $
#
# This file is in the public domain.
#
@@ -1064,7 +1064,7 @@ ACCEPTABLE_LICENSES= ${ACCEPTABLE_LICENCES}
# Don't build a package if it's broken.
################################################################
-.if !defined(NO_IGNORE)
+.if !defined(NO_SKIP)
. if (defined(NO_BIN_ON_CDROM) && defined(FOR_CDROM))
PKG_FAIL_REASON+= "${PKGNAME} may not be placed in binary form on a CDROM:" \
" "${NO_BIN_ON_CDROM:Q}
@@ -1120,7 +1120,7 @@ __PLATFORM_OK?= yes
. endif # MACHINE_PLATFORM
. endfor # __tmp__
. if !defined(__PLATFORM_OK)
-PKG_FAIL_REASON+= "${PKGNAME} is not available for ${MACHINE_PLATFORM}"
+PKG_SKIP_REASON+= "${PKGNAME} is not available for ${MACHINE_PLATFORM}"
. endif # !__PLATFORM_OK
#
@@ -1129,7 +1129,7 @@ PKG_FAIL_REASON+= "${PKGNAME} is not available for ${MACHINE_PLATFORM}"
. if defined(PKG_FAIL_REASON) || defined(PKG_SKIP_REASON)
fetch checksum extract patch configure all build install package \
update install-depends:
-. if defined(IGNORE_SILENT)
+. if defined(SKIP_SILENT)
@${DO_NADA}
. else
@for str in ${PKG_FAIL_REASON} ${PKG_SKIP_REASON} ; \
@@ -1140,8 +1140,8 @@ update install-depends:
. if defined(PKG_FAIL_REASON)
@${FALSE}
. endif
-. endif # IGNORE
-.endif # !NO_IGNORE
+. endif # SKIP
+.endif # !NO_SKIP
# Add these defs to the ones dumped into +BUILD_DEFS
BUILD_DEFS+= PKGPATH
@@ -1236,7 +1236,7 @@ install: build
# Disable package
.if defined(NO_PACKAGE) && !target(package)
package:
-. if defined(IGNORE_SILENT)
+. if defined(SKIP_SILENT)
@${DO_NADA}
. else
@${ECHO_MSG} "${_PKGSRC_IN}> ${PKGNAME} may not be packaged: ${NO_PACKAGE}."
@@ -3008,7 +3008,7 @@ real-su-undo-replace:
# re-distributed freely
mirror-distfiles:
.if !defined(NO_SRC_ON_FTP)
- @${_PKG_SILENT}${_PKG_DEBUG}${MAKE} ${MAKEFLAGS} fetch NO_IGNORE=yes NO_CHECK_DEPENDS=yes
+ @${_PKG_SILENT}${_PKG_DEBUG}${MAKE} ${MAKEFLAGS} fetch NO_SKIP=yes NO_CHECK_DEPENDS=yes
.endif