summaryrefslogtreecommitdiffstats
path: root/Tools/scripts
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2003-02-16 15:23:21 +0000
committernork <nork@FreeBSD.org>2003-02-16 15:23:21 +0000
commitfca7e12ec4a3d6638b4706c4c0dc861251c8cda3 (patch)
tree3155d060717f8c10b7a3b372273e1bdd3bf80411 /Tools/scripts
parent07f07658f986179066a9f743d6a3fadac94263e4 (diff)
downloadFreeBSD-ports-fca7e12ec4a3d6638b4706c4c0dc861251c8cda3.zip
FreeBSD-ports-fca7e12ec4a3d6638b4706c4c0dc861251c8cda3.tar.gz
Change how to get CATEGORIES tag from new port for slave port.
Approved by: will
Diffstat (limited to 'Tools/scripts')
-rwxr-xr-xTools/scripts/addport4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/scripts/addport b/Tools/scripts/addport
index 6ae6c51..d95ce01 100755
--- a/Tools/scripts/addport
+++ b/Tools/scripts/addport
@@ -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) {
OpenPOWER on IntegriCloud