summaryrefslogtreecommitdiff
path: root/mk/check
diff options
context:
space:
mode:
authorreed <reed>2011-10-15 00:23:07 +0000
committerreed <reed>2011-10-15 00:23:07 +0000
commit0803dd1082219527156198e8f3da504c579fccd1 (patch)
tree731a20742fd50dda526dd72d589e7a647e8b369d /mk/check
parentef3c360cb8733d54010557bea6ea76d70181852c (diff)
downloadpkgsrc-0803dd1082219527156198e8f3da504c579fccd1.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