ports/134027: [PATCH] ports-mgmt/p5-FreeBSD-Ports-INDEXhash: fix Edeps and Rdeps
Yen-Ming Lee
leeym at FreeBSD.org
Sun Apr 26 20:40:02 UTC 2009
>Number: 134027
>Category: ports
>Synopsis: [PATCH] ports-mgmt/p5-FreeBSD-Ports-INDEXhash: fix Edeps and Rdeps
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Apr 26 20:40:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Yen-Ming Lee
>Release: FreeBSD 7.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD cn1.leeym.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008
>Description:
- set Edeps and Rdeps correctly (currently it pushs Pdeps into Edeps, and Edeps into Rdeps)
- remove redundant DISTNAME (by default it's ${PORTNAME}-${PORTVERSION} already)
- bump PORTREVISION
Added file(s):
- files/patch-lib__FreeBSD__Ports__INDEXhash.pm
Port maintainer (vvelox at vvelox.net) is cc'd.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- p5-FreeBSD-Ports-INDEXhash-1.2.0_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/ports-mgmt/p5-FreeBSD-Ports-INDEXhash/Makefile,v
retrieving revision 1.3
diff -u -d -b -w -u -r1.3 Makefile
--- Makefile 31 Mar 2009 07:34:13 -0000 1.3
+++ Makefile 26 Apr 2009 20:34:37 -0000
@@ -7,10 +7,10 @@
PORTNAME= FreeBSD-Ports-INDEXhash
PORTVERSION= 1.2.0
+PORTREVISION= 1
CATEGORIES= ports-mgmt sysutils perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
-DISTNAME= ${PORTNAME}-${PORTVERSION}
MAINTAINER= vvelox at vvelox.net
COMMENT= Make a hash out of the index file for the ports tree
Index: files/patch-lib__FreeBSD__Ports__INDEXhash.pm
===================================================================
RCS file: files/patch-lib__FreeBSD__Ports__INDEXhash.pm
diff -N files/patch-lib__FreeBSD__Ports__INDEXhash.pm
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ files/patch-lib__FreeBSD__Ports__INDEXhash.pm 26 Apr 2009 20:34:37 -0000
@@ -0,0 +1,18 @@
+--- lib/FreeBSD/Ports/INDEXhash.pm.orig 2009-04-26 13:30:57.000000000 -0700
++++ lib/FreeBSD/Ports/INDEXhash.pm 2009-04-26 13:32:21.000000000 -0700
+@@ -151,13 +151,13 @@
+ $depsInt=0;
+ my @Edeps=split(/ /, $linesplit[10]);
+ while(defined($Edeps[$depsInt])){
+- push(@{$hash{$linesplit[0]}{Edeps}}, $Pdeps[$depsInt]);
++ push(@{$hash{$linesplit[0]}{Edeps}}, $Edeps[$depsInt]);
+
+ $depsInt++;
+ };
+
+ my @Rdeps=split(/ /, $linesplit[8]);
+- while(defined($Edeps[$depsInt])){
++ while(defined($Rdeps[$depsInt])){
+ push(@{$hash{$linesplit[0]}{Rdeps}}, $Rdeps[$depsInt]);
+
+ $depsInt++;
--- p5-FreeBSD-Ports-INDEXhash-1.2.0_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list