Date: Sat, 12 Jun 2010 00:06:12 +0400 From: Anonymous <swell.k@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/147797: [patch] textproc/mdocml: inherit port's PREFIX Message-ID: <86eigd1gi3.fsf@gmail.com> Resent-Message-ID: <201006112010.o5BKA5At086230@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 147797 >Category: ports >Synopsis: [patch] textproc/mdocml: inherit port's PREFIX >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jun 11 20:10:05 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Anonymous >Release: FreeBSD 9.0-CURRENT amd64 >Organization: >Environment: LOCALBASE=/usr/pkg PREFIX=$HOME/aaa /usr/local does not exist here >Description: Distfile doesn't respect PREFIX in make.conf. >How-To-Repeat: define PREFIX and/or LOCALBASE in make.conf $ make install ... ===> Checking if textproc/mdocml already installed mkdir -p /usr/local/bin mkdir -p /usr/local/share/examples/mandoc mkdir -p /usr/local/man/man1 mkdir -p /usr/local/man/man7 install -m 0755 mandoc /usr/local/bin install -m 0444 mandoc.1 /usr/local/man/man1 install -m 0444 man.7 mdoc.7 roff.7 mandoc_char.7 /usr/local/man/man7 install -m 0444 example.style.css /usr/local/share/examples/mandoc ===> Compressing manual pages for mdocml-1.10.0 gzip: can't stat: /home/holo/aaa/man/man1/mandoc.1: No such file or directory gzip: can't stat: /home/holo/aaa/man/man7/man.7: No such file or directory gzip: can't stat: /home/holo/aaa/man/man7/mdoc.7: No such file or directory gzip: can't stat: /home/holo/aaa/man/man7/roff.7: No such file or directory gzip: can't stat: /home/holo/aaa/man/man7/mandoc_char.7: No such file or directory $ find -s /usr/local \! -type d /usr/local/bin/mandoc /usr/local/man/man1/mandoc.1 /usr/local/man/man7/man.7 /usr/local/man/man7/mandoc_char.7 /usr/local/man/man7/mdoc.7 /usr/local/man/man7/roff.7 /usr/local/share/examples/mandoc/example.style.css >Fix: Workaround: define PREFIX on command line --- a.diff begins here --- Index: textproc/mdocml/Makefile =================================================================== RCS file: /a/.cvsup/ports/textproc/mdocml/Makefile,v retrieving revision 1.16 diff -u -p -r1.16 Makefile --- textproc/mdocml/Makefile 31 May 2010 07:28:16 -0000 1.16 +++ textproc/mdocml/Makefile 11 Jun 2010 20:02:49 -0000 @@ -19,4 +19,7 @@ MAN7= man.7 mdoc.7 roff.7 mandoc_char.7 PLIST_SUB+= EXAMPLESDIR=share/examples/mandoc +post-patch: .SILENT + ${REINPLACE_CMD} '/PREFIX/s/=/?&/' ${WRKSRC}/Makefile + .include <bsd.port.mk> --- a.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?86eigd1gi3.fsf>