Date: Fri, 03 Apr 2020 18:24:03 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 245324] games/cowsay puts STAGEDIR in manpage Message-ID: <bug-245324-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D245324 Bug ID: 245324 Summary: games/cowsay puts STAGEDIR in manpage Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: lifanov@freebsd.org Reporter: adridg@freebsd.org Assignee: lifanov@freebsd.org Flags: maintainer-feedback?(lifanov@freebsd.org) I have built games/cowsay in my own poudriere. In the manpage, it says: ``` FILES /wrkdirs/usr/ports/games/cowsay/work/stage/usr/local/share/cows hold= s a sample set of cowfiles. If your COWPATH is not explicitly set, it automatically contains this directory. ``` Notice that the stagedir from building has leaked into the manpage. And if I build the port as a user in /tmp/port, and look at the staged manpage at /tmp/port/work/stage/usr/local/man/man1/cowsay.1.gz, then I see this: ``` .SH FILES .B /tmp/port/work/stage/usr/local/share/cows holds a sample set of cowfiles. If your .B COWPATH ``` .. and while the script explicitly handles a "normal" (or maybe "old-fashio= ned, before staging was a thing") prefix, it substitutes a full prefix (with staging, it seems) in to the intermediate perl scripts -- and onwards into = the manpages: ``` echo s,%PREFIX%,$PREFIX,\; >> install.pl ``` --=20 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-245324-7788>