diff --git a/en/ports/portindex b/en/ports/portindex index 98ca8a8992..f9a94b5cb8 100755 --- a/en/ports/portindex +++ b/en/ports/portindex @@ -4,7 +4,7 @@ # # by John Fieber # Mon May 13 10:31:58 EST 1996 -# $FreeBSD: www/en/ports/portindex,v 1.53 2005/10/18 03:45:12 linimon Exp $ +# $FreeBSD: www/en/ports/portindex,v 1.54 2005/11/15 10:09:26 osa Exp $ ############################################################ @@ -128,7 +128,7 @@ sub category_description { while(

) { # ignore comments next if /^\s*#/; - if (/^\s*([^,]+),\s*"([^"]+)",([A-Z]+)/) { + if (/^\s*([^,]+),\s*"([^"]+)",\s*([A-Z]+)/) { $category_description{$1}{desc}=$2; $category_description{$1}{group}=$3; } @@ -149,7 +149,7 @@ sub category_groups { # ignore comments next if /^\s*#/; if (/^\s*([^,]+),\s*(.+)/) { - $category_groups{$1}=$2 if (/^\s*([^,]+),\s*(.+)/); + $category_groups{$1}=$2; push(@category_groups,$1); } }