summaryrefslogtreecommitdiff
path: root/mk/check
diff options
context:
space:
mode:
authorreed <reed@pkgsrc.org>2011-10-15 00:23:07 +0000
committerreed <reed@pkgsrc.org>2011-10-15 00:23:07 +0000
commit6bdad51ddfdcf5739a8508eab4bf688f71008207 (patch)
tree731a20742fd50dda526dd72d589e7a647e8b369d /mk/check
parent73e59366a6a5f7990d1ed964c225faf155fb6ba8 (diff)
downloadpkgsrc-6bdad51ddfdcf5739a8508eab4bf688f71008207.tar.gz
Rename "flavor" to "pkgformat".
This is from Anton Panev's GSoC 2011 project to add RPM and DPKG support to pkgsrc. (I am not adding that further support in this commit.) This is just a rename of the existing functionality. Now it will be easy to test the GSoC work by simply putting in a single directory (such as "rpm" or "deb"). See http://addpackageforma.sourceforge.net/ for some details. This is from Anton's CVS, but I made some minor changes: - changed plural pkgformats to singular pkgformat (to be consistent) - fixed a few places (in comments) that were missed - catch up on some additions to flavor not in the pkgforma cvs: PKGSRC_SETENV and _flavor-destdir-undo-replace and undo-destdir-replace-install.
Diffstat (limited to 'mk/check')
-rw-r--r--mk/check/check-vulnerable.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/mk/check/check-vulnerable.mk b/mk/check/check-vulnerable.mk
index 4085cd6111c..7f8dad0f99e 100644
--- a/mk/check/check-vulnerable.mk
+++ b/mk/check/check-vulnerable.mk
@@ -1,4 +1,4 @@
-# $NetBSD: check-vulnerable.mk,v 1.4 2007/03/09 00:39:54 rillig Exp $
+# $NetBSD: check-vulnerable.mk,v 1.5 2011/10/15 00:23:08 reed Exp $
#
# Public targets:
#
@@ -10,13 +10,13 @@
check-vulnerable: .PHONY
@${DO_NADA}
. else
-check-vulnerable: .PHONY _flavor-check-vulnerable
+check-vulnerable: .PHONY _pkgformat-check-vulnerable
@${DO_NADA}
.endif
-# A package flavor does not need to implement this target, so provide a
+# A package format does not need to implement this target, so provide a
# default implementation.
-.if !target(_flavor-check-vulnerable)
-_flavor-check-vulnerable:
+.if !target(_pkgformat-check-vulnerable)
+_pkgformat-check-vulnerable:
@${PHASE_MSG} "Skipping vulnerability checks."
.endif