[Bug 195889] New: check-plist does not respect @comment

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Dec 11 13:52:07 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195889

            Bug ID: 195889
           Summary: check-plist does not respect @comment
           Product: Ports Tree
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Infrastructure
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: amdmi3 at FreeBSD.org

As shown by the example below, check-plist target does not respect @comment
statements in pkg-plist: @comment'ed @dir which is invisible to pkg, is though
treated by check plist as regular @dir.

% cat Makefile
PORTNAME=       testport
PORTVERSION=    0.0.0
CATEGORIES=     sysutils
DISTFILES=      #

MAINTAINER=     amdmi3 at FreeBSD.org
COMMENT=        #

NO_BUILD=       yes

do-install:
        ${MKDIR} ${STAGEDIR}${PREFIX}/testdir

.include <bsd.port.mk>
% cat pkg-plist 
% sudo make clean stage check-plist 2>&1 | grep -A1 "Checking for items in
STAGEDIR"
===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: @dir testdir
% echo "@dir testdir" > pkg-plist 
% sudo make clean stage check-plist 2>&1 | gerp -A1 "Checking for items in
STAGEDIR"
===> Checking for items in STAGEDIR missing from pkg-plist
===> Checking for items in pkg-plist which are not in STAGEDIR
% echo "@comment @dir testdir" > pkg-plist                                      
% sudo make clean stage check-plist 2>&1 | gerp -A1 "Checking for items in
STAGEDIR"
===> Checking for items in STAGEDIR missing from pkg-plist
===> Checking for items in pkg-plist which are not in STAGEDIR
% echo -n > pkg-plist 
% sudo make clean stage check-plist 2>&1 | gerp -A1 "Checking for items in
STAGEDIR"
===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: @dir testdir

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list