Change how to get CATEGORIES tag from new port for slave port.

Approved by:	will
This commit is contained in:
Norikatsu Shigemura 2003-02-16 15:23:21 +00:00
parent fcd95201e5
commit b4b7d18cdf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=75655

View file

@ -193,8 +193,8 @@ foreach my $thisdir (@dirs) {
# Get the category name and make it suitable for use with cvs
my $category;
$_ = `grep CATEGORIES Makefile`;
m/\w+\W+([\w-]+)/;
$_ = `$make -V CATEGORIES`;
m/([\w-]+)/;
$category = $1;
chomp $category;
if ($interactive) {