I tweaked /opt/local/var/macports/sources/rsync.macports.org/release/ports/gnome/evince/Portfile to remove the avahi lib depend and add --disable-avahi to the config line. You can also tack add to the Portfile:
variant without_avahi {
depends_lib-delete port:avahi
configure.args-delete --disable-avahi
}
and install evince with +without_avahi
There has been so much godawful bloat installing this thing. without_docs seems to take care of some of it.
Other requisite tricks:
pushd /opt/local/bin
ln -s guile16-config guile-config
ln -s guile16 guile
popd
pushd /opt/local/include
ln -s guile16 guile
ln -s libguile16.h libguile.h
ln -s libguile16 libguile
popd
pushd /opt/local/lib
ln -s libguile16.dylib libguile.dylib
popd
guile16 is enabled in the port because "Newer versions of guile don't work with macports". At least at this point, it doesn't compile in a straightforward manner.
My final invocation was:
port install gnucash +without_docs +guile16
0 comments:
Post a Comment