diff options
author | atatat <atatat> | 2003-04-30 03:05:06 +0000 |
---|---|---|
committer | atatat <atatat> | 2003-04-30 03:05:06 +0000 |
commit | 7015594a6f75a93035306206dcc988693172195d (patch) | |
tree | 03a7f3775721e0dcf4023d19a936057b9fdc16cb /mk/bsd.pkg.mk | |
parent | bb62e380646f2847d0f1377b56e502a8f31dc000 (diff) | |
download | pkgsrc-7015594a6f75a93035306206dcc988693172195d.tar.gz |
Move MESA_REQD from bsd.pkg.defaults.mk to bsd.pkg.mk, since the
latter appears to be a much better place to put something like that.
Also, remove a ) from the awk expression in the check-vulnerable
target, since it is extraneous and only causes awk to die.
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r-- | mk/bsd.pkg.mk | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 72ca23ea6b9..b30bd498d72 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.1175 2003/04/29 20:31:52 agc Exp $ +# $NetBSD: bsd.pkg.mk,v 1.1176 2003/04/30 03:05:06 atatat Exp $ # # This file is in the public domain. # @@ -123,6 +123,9 @@ RESTRICTED?= uses Kerberos encryption code BUILD_DEFS+= KERBEROS .endif +# Used by packages depending on an OpenGL implementation +MESA_REQD?= 5.0 + PERL5_REQD?= 5.0 PERL5_PKGSRCDIR?= ../../lang/perl5 @@ -1412,7 +1415,7 @@ check-vulnerable: PKGBASE="${PKGBASE}" \ ${AWK} '/^$$/ { next } \ /^#.*/ { next } \ - $$1 !~ ENVIRON["PKGBASE"]) { next } \ + $$1 !~ ENVIRON["PKGBASE"] { next } \ { s = sprintf("${PKG_ADMIN} pmatch \"%s\" %s && ${ECHO} \"*** WARNING - %s vulnerability in %s - see %s for more information ***\"", $$1, ENVIRON["PKGNAME"], $$2, ENVIRON["PKGNAME"], $$3); system(s); }' < ${PKGVULNDIR}/vulnerabilities || ${FALSE}; \ fi |