Date: Thu, 11 Dec 2014 13:52:07 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 195889] New: check-plist does not respect @comment Message-ID: <bug-195889-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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@FreeBSD.org Reporter: amdmi3@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@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-195889-13>