Creating a Portfile for BirdFont
Ryan Schmidt
ryandesign at macports.org
Mon Feb 25 14:04:41 PST 2013
On Feb 25, 2013, at 09:58, Johan Mattsson wrote:
> Error: Port birdfont is still broken after rebuiling it more than 3 times.
> This seems to happen because gcc for some reason links the executable
> to /usr/local/lib/libbirdfont.dylib instead of
> /opt/local/lib/libbirdfont.dylib.
> The library is in the build directory during the linking step and i
> link it with this command:
>
> gcc build/birdfont/*.o ./build/bin/libbirdfont.dylib ... -o ./build/bin/birdfont
>
> The port seems to work fine despite of this error message. The library
> will be loaded from the correct location (/opt/local/lib/). Maybe some
> one here knows how to make the package pass the test.
Having files in /usr/local will cause this problem, and others; that's why we don't support that. Move /usr/local aside and clean and rebuild the affected port.
https://trac.macports.org/wiki/FAQ#usrlocal
More information about the macports-users
mailing list