Date: Tue, 1 Nov 2005 14:37:57 +0300 (MSK) From: Dmitry Morozovsky <marck@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/88321: mail/pine4 could not be built under non-seperuser Message-ID: <200511011137.jA1Bbv4E046527@woozle.rinet.ru> Resent-Message-ID: <200511011140.jA1BeGvS059964@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 88321 >Category: ports >Synopsis: mail/pine4 could not be built under non-seperuser >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Nov 01 11:40:16 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Dmitry Morozovsky >Release: FreeBSD 4-STABLE i386 >Organization: Cronyx Plus LLC (RiNet ISP) >Environment: System: FreeBSD 4-STABLE, 5-STABLE >Description: mail/pine4 distfile contains non-writable files, which prevents patches from applying, when port is to be built by non-root. >How-To-Repeat: > cd /usr/ports/mail/pine4 > make patch BATCH=1 ... ===> Applying FreeBSD patches for pine-4.64 cannot create /lh/ports/mail/pine4/work/pine4.64/imap/src/osdep/unix/Makefile: permission denied *** Error code 2 >Fix: Index: Makefile =================================================================== RCS file: /home/ncvs/ports/mail/pine4/Makefile,v retrieving revision 1.83 diff -u -r1.83 Makefile --- Makefile 29 Oct 2005 07:13:28 -0000 1.83 +++ Makefile 1 Nov 2005 11:37:18 -0000 @@ -67,6 +67,9 @@ PATCH_DIST_ARGS+= -E --quiet -d ${PATCH_WRKSRC} -p1 .endif +pre-patch: + @${CHMOD} -R u+w ${WRKSRC} + post-patch: # Do this here because the maildir patch also modifies this file @${CP} ${WRKSRC}/imap/src/osdep/unix/Makefile \ >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511011137.jA1Bbv4E046527>