Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Feb 2004 19:31:42 +0300 (MSK)
From:      Igor Pokrovsky <tiamat@comset.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        nbm@FreeBSD.org
Subject:   misc/62767: Update ports/Tools/scripts/mkptools/mkpskel (pkg-comment -> COMMENT)
Message-ID:  <200402121631.i1CGVgHU011101@doom.homeunix.org>
Resent-Message-ID: <200402130320.i1D3K5d1082841@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         62767
>Category:       misc
>Synopsis:       Update ports/Tools/scripts/mkptools/mkpskel (pkg-comment -> COMMENT)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 12 19:20:05 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Igor Pokrovsky
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
>Environment:
System: FreeBSD doom.homeunix.org 4.9-STABLE FreeBSD 4.9-STABLE #0: Thu Feb 12 10:40:42 MSK 2004 root@doom.homeunix.org:/usr/obj/usr/src/sys/KERNEL i386


	
>Description:
Reflecting recent change in ports syntax, add COMMENT variable to Makefile
instead of creating pkg-comment file.
	
>How-To-Repeat:
	
>Fix:

	

--- mkpskel.diff begins here ---
--- /usr/ports/Tools/scripts/mkptools/mkpskel	Fri Feb  2 18:00:42 2001
+++ mkpskel	Thu Feb 12 19:09:06 2004
@@ -77,7 +77,6 @@
 
 	`printf "\n" > $tmpdir/pkg-plist`;
 	`printf "\n" > $tmpdir/pkg-descr`;
-	`printf "A\n" > $tmpdir/pkg-comment`;
 }
 
 sub writemk {
@@ -125,8 +124,9 @@
 		delete($tmp{"MASTER_SITES"});
 	}
 
-	print MAKEFILE "\nMAINTAINER=\t" . $tmp{"MAINTAINER"} . "\n\n";
+	print MAKEFILE "\nMAINTAINER=\t" . $tmp{"MAINTAINER"} . "\n";
 	delete($tmp{"MAINTAINER"});
+	print MAKEFILE "COMMENT=\t" . "A" . "\n\n";
 
 	if ($tmp{"LIB_DEPENDS"}) {
 		print MAKEFILE "LIB_DEPENDS=". $tmp{"LIB_DEPENDS"} . "\n\n";
--- mkpskel.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402121631.i1CGVgHU011101>