Date: Sun, 16 Feb 2003 15:46:30 +0900 (JST) From: Norikatsu Shigemura <nork@FreeBSD.org> To: will@FreeBSD.org Cc: ports@FreeBSD.org Subject: addport with slave port's CATEGORIES Message-ID: <200302160646.h1G6kUqM012736@nd250009.gab.xdsl.ne.jp>
next in thread | raw e-mail | index | archive | help
Hi will. I addport-ed databases/db41-nocrypt. Since it's slave port of databases/db41, so it contains no CATEGORIES tag. And, since addport required CATEGORIES tag, so addport is not useful:-(. Fix: following patch. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Index: addport =================================================================== RCS file: /home/ncvs/ports/Tools/scripts/addport,v retrieving revision 1.30 diff -u -r1.30 addport --- addport 10 Feb 2003 08:56:59 -0000 1.30 +++ addport 16 Feb 2003 06:35:40 -0000 @@ -193,8 +193,8 @@ # 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) { - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302160646.h1G6kUqM012736>