Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#28638 closed defect (fixed)

p5-css fix for permissions error

Reported by: pixilla (Bradley Giesbrecht) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: haspatch Cc: ejshamow@…
Port: p5-css

Description

The p5-css Portfile uses system to execute a perl script at files/build-grammer.pl to recompile a file.
It looks like the script wants to output to pwd and I get permission errors on my system.
This patch simply cd's to ${worksrcpath} before calling the perl script and my errors go away and file file gets recompiled.

Attachments (1)

patch-Portfile.diff (635 bytes) - added by pixilla (Bradley Giesbrecht) 14 years ago.

Download all attachments as: .zip

Change History (5)

Changed 14 years ago by pixilla (Bradley Giesbrecht)

Attachment: patch-Portfile.diff added

comment:1 Changed 14 years ago by ejshamow@…

Pixilla,

Thanks, this looks good. -- I'll open a maintainer ticket to get this committed.

-Eric

comment:2 Changed 14 years ago by ejshamow@…

Pixilla,

If you want to track --

https://trac.macports.org/ticket/28723

-Eric

comment:3 Changed 14 years ago by pixilla (Bradley Giesbrecht)

Resolution: fixed
Status: newclosed

Thanks Eric.

comment:4 Changed 14 years ago by jmroot (Joshua Root)

For future reference, you don't need to open a second ticket to ask for a patch attached to an existing ticket to be committed.

Note: See TracTickets for help on using tickets.