diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2008-12-10 01:15:47 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2008-12-10 01:15:47 +0000 |
commit | f5461578aa021e7ebbe58be786ca80d5724c201b (patch) | |
tree | c541eb51fdb68d5fad7cfc1a89cb9067f881a958 /eclass | |
parent | Allow overriding of $GENTOO_PATCHNAME and $GENTOO_PATCHDIR for easier testing... (diff) | |
download | historical-f5461578aa021e7ebbe58be786ca80d5724c201b.tar.gz historical-f5461578aa021e7ebbe58be786ca80d5724c201b.tar.bz2 historical-f5461578aa021e7ebbe58be786ca80d5724c201b.zip |
Update the comment to say explicitly how to override the variable sanely.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/apache-2.eclass | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/eclass/apache-2.eclass b/eclass/apache-2.eclass index d727224ec56c..28748c04fd80 100644 --- a/eclass/apache-2.eclass +++ b/eclass/apache-2.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/apache-2.eclass,v 1.14 2008/12/10 01:06:12 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/apache-2.eclass,v 1.15 2008/12/10 01:15:47 robbat2 Exp $ # @ECLASS: apache-2.eclass # @MAINTAINER: @@ -19,7 +19,10 @@ inherit autotools confutils eutils flag-o-matic multilib # @ECLASS-VARIABLE: GENTOO_PATCHNAME # @DESCRIPTION: # This internal variable contains the prefix for the patch tarball. -# Defaults to the full version (including revision) of the package. +# Defaults to the full name and version (including revision) of the package. +# If you want to override this in an ebuild, use: +# ORIG_PR="(revision of Gentoo stuff you want)" +# GENTOO_PATCHNAME="gentoo-${PN}-${PV}${ORIG_PR:+-${ORIG_PR}}" [[ -n "$GENTOO_PATCHNAME" ]] || GENTOO_PATCHNAME="gentoo-${PF}" # @ECLASS-VARIABLE: GENTOO_PATCHDIR |