>Number: 84623
>Category: ports
>Synopsis: devel/newfile: Add COMMENT= to template
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sat Aug 06 17:10:15 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: TAKAHASHI Kaoru
>Release: FreeBSD 5.4-RELEASE-p6 i386
>Organization:
>Environment:
System: FreeBSD rave.kaoru.trans-nt.com 5.4-RELEASE-p6 FreeBSD 5.4-RELEASE-p6 #0: Tue Aug 2 11:53:36 JST 2005 root@rave.kaoru.trans-nt.com:/usr/obj/usr/src/sys/IPSEC i386
>Description:
I'm using newfile via FreeBSD porttools.
The porttools is pretty good.
When 'port create', I expected "COMMENT=" in Makefile. But was, no
"COMMENT=" line.
Would you add "COMMENT=" to data/projects/port@Makefile in newfile?
>How-To-Repeat:
% cd /usr/ports/devel/porttools && sudo make install
% cd /usr/ports/devel/newfile && sudo make install
% port create foobar
% grep COMMENT foobar/Makefile
I expected "COMMENT=" in Makefile. But was nothing.
>Fix:
Apply this patch to newfile.
diff -ruN newfile-1.0.14.orig/data/projects/port@Makefile newfile-1.0.14/data/projects/port@Makefile
--- newfile-1.0.14.orig/data/projects/port@Makefile 2003-11-03 21:34:51.000000000 +0900
+++ newfile-1.0.14/data/projects/port@Makefile 2005-08-07 01:31:43.486085664 +0900
@@ -31,6 +31,7 @@
%else
MAINTAINER= <:BSDMAIL>
%endif # !defined("BSDMAIL")
+COMMENT=
.include <bsd.port.pre.mk>
%if defined("KDE_DIRS")
>Release-Note:
>Audit-Trail:
>Unformatted: