From 07ceeb5e6a93a0d357bcbf879976b5b57eb29b5e Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 5 Feb 2006 21:19:11 +0000 Subject: add CATEGORY to ebuild.5 and declare it readonly in ebuild.sh svn path=/main/trunk/; revision=2670 --- bin/ebuild.sh | 2 +- man/ebuild.5 | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/bin/ebuild.sh b/bin/ebuild.sh index ccd02cdb2..cfff8629b 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -1797,7 +1797,7 @@ export S=${WORKDIR}/${P} unset E_IUSE E_DEPEND E_RDEPEND E_PDEPEND -for x in T P PN PV PVR PR A EBUILD EMERGE_FROM O PPID FILESDIR PORTAGE_TMPDIR; do +for x in T P PN PV PVR PR CATEGORY A EBUILD EMERGE_FROM O PPID FILESDIR PORTAGE_TMPDIR; do [[ ${!x-UNSET_VAR} != UNSET_VAR ]] && declare -r ${x} done # Need to be able to change D in dyn_preinst due to the IMAGE stuff diff --git a/man/ebuild.5 b/man/ebuild.5 index fe66914bd..af8443df1 100644 --- a/man/ebuild.5 +++ b/man/ebuild.5 @@ -87,6 +87,9 @@ Contains the full package name \fI[PN]\-[PVR]\fR .br \fBxfree-4.2.1-r2.ebuild\fR --> \fB$PF\fR=='\fIxfree-4.2.1-r2\fR' .TP +.B CATEGORY +Contains the package category name. +.TP .B A Contains all source files required for the package. This variable must not be defined. It is autogenerated from the \fISRC_URI\fR variables. -- cgit v1.2.3-1-g7c22