[MacPorts] #13547: Bison 2.3.1 fails without sudo rights
MacPorts
trac at macosforge.org
Mon Dec 10 14:16:54 PST 2007
#13547: Bison 2.3.1 fails without sudo rights
--------------------------------+-------------------------------------------
Reporter: simon at macports.org | Owner: mww at macports.org
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.5.2
Keywords: |
--------------------------------+-------------------------------------------
Hi,
I just tried upgrading bison to 2.3.1 and got an access denied error. I'm
using macports without sudo and most of the time it works fine.
The problem is that the directory settings in post-destroot are too strict
and don't give the current user write access. Here is a patch which should
change this and works fine for me.
{{{
--- Portfile (revision 31841)
+++ Portfile (working copy)
@@ -33,7 +33,7 @@
post-destroot {
set docdir ${prefix}/share/doc/${name}
- xinstall -d -m 0555 ${destroot}${docdir}
+ xinstall -d -m 0755 ${destroot}${docdir}
xinstall -m 0444 -W ${worksrcpath} AUTHORS COPYING
ChangeLog
NEWS \
THANKS TODO ${destroot}${docdir}
}
}}}
Thanks for your help,
Simon
PS: I tried sending you this as email but got an error from the Apple Mail
Server.
{{{
550 <mmw at macports.org>: Recipient address rejected: User unknown in
virtual
alias table (in reply to RCPT TO command)
}}}
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13547>
MacPorts </projects/macports>
Ports system for Mac OS
More information about the macports-tickets
mailing list