Compile Octave with GraphicsMagick patched
Ryan Schmidt
ryandesign at macports.org
Tue Mar 8 22:14:04 PST 2011
On Mar 8, 2011, at 02:10, conahorse wrote:
> Hi all, I'm not able to use 'imread()' with the octave version provided with ports since it uses GraphicsMagick unpatched (the patch I'm talking about concerns a widespread problem and can be found here http://savannah.gnu.org/bugs/?29474).
The patch attached there 8 months ago indicates changes to be made to both GraphicsMagick and octave to solve the problem. If this is so important, why have the developers of these software packages not incorporated these changes by now?
> More generally, is there a way to patch a port before building it?
Sure:
sudo port extract PORTNAME
Then go into the directory identified by:
port work PORTNAME
Make the changes you desire. Then:
sudo port install PORTNAME
and it will pick up where it left off.
> Or, is there a way to tell ports to use an already existing dependency lib instead of fetching and configuring their own?
No, MacPorts uses its own libraries only; we cannot support the uncertainty of allowing users to provide their own versions of things.
More information about the macports-users
mailing list