From 6bdad51ddfdcf5739a8508eab4bf688f71008207 Mon Sep 17 00:00:00 2001 From: reed Date: Sat, 15 Oct 2011 00:23:07 +0000 Subject: 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. --- mk/check/check-vulnerable.mk | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'mk/check') 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 -- cgit v1.2.3