* [gentoo-commits] gentoo-perl r236 - g-cpan/trunk/bin
@ 2010-02-15 7:31 Robin H. Johnson (robbat2)
0 siblings, 0 replies; only message in thread
From: Robin H. Johnson (robbat2) @ 2010-02-15 7:31 UTC (permalink / raw
To: gentoo-commits
Author: robbat2
Date: 2010-02-15 07:31:43 +0000 (Mon, 15 Feb 2010)
New Revision: 236
Modified:
g-cpan/trunk/bin/g-cpan
Log:
New variable GCPAN_OVERLAY to control what overlay is used for output of new ebuilds. If not set, the previous detection behavior is used. Update manpage for new config stuff.
Modified: g-cpan/trunk/bin/g-cpan
===================================================================
--- g-cpan/trunk/bin/g-cpan 2010-02-15 07:26:03 UTC (rev 235)
+++ g-cpan/trunk/bin/g-cpan 2010-02-15 07:31:43 UTC (rev 236)
@@ -633,7 +633,14 @@
# Write ebuild here?
$debug and $gcpan_run->debug;
my @overlays;
- if ($overlay) { @overlays = split ' ', $overlay }
+ if ($GCPAN_OVERLAY)
+ {
+ push @overlays, $GCPAN_OVERLAY
+ }
+ elsif ($overlay)
+ {
+ @overlays = split ' ', $overlay
+ }
else
{
push @overlays, "/var/tmp/g-cpan"
@@ -1069,6 +1076,10 @@
If no overlays are defined, or the user operating B<g-cpan> cannot write to an overlay, then anything generated will be written to a temporary space and wiped on exit.
+If you want to generate ebuilds to a specific overlay, you may set GCPAN_OVERLAY in your make.conf, .gcpanrc or environment.
+
+If you want to generate ebuilds into a specific category, you may set GCPAN_CAT in your make.conf, .gcpanrc or environment.
+
=head1 Arguments
The following arguments are accepted by g-cpan.
@@ -1161,7 +1172,7 @@
=head1 Authors
-mcummings <mcummings@gentoo.org> cab <cab@gentoo.org> sniper <sniper@mongueurs.net> beu <beu@gentoo.org> J Robert Ray <jrray@gentoo.org> (g-cpan) RAC <rac@gentoo.org> Sven Vermeulen <swift@gentoo.org> (Original manpage) Damien Krotkine <dams@gentoo.org> Yuval Yaari <yuval@gentoo.org>
+mcummings <mcummings@gentoo.org> cab <cab@gentoo.org> sniper <sniper@mongueurs.net> beu <beu@gentoo.org> J Robert Ray <jrray@gentoo.org> (g-cpan) RAC <rac@gentoo.org> Sven Vermeulen <swift@gentoo.org> (Original manpage) Damien Krotkine <dams@gentoo.org> Yuval Yaari <yuval@gentoo.org> Robin J Johnson <robbat2@gentoo.org>
=head1 Reporting Bugs
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-02-15 7:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-15 7:31 [gentoo-commits] gentoo-perl r236 - g-cpan/trunk/bin Robin H. Johnson (robbat2)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox