On Sunday 30 November 2008 12.59.51 Matthias Kilian wrote:
> On Sun, Nov 30, 2008 at 11:30:06AM +0100, LÉVAI Dániel wrote:
> > > > Then the port now is broken, because no matter what,
> > > > GraphicsMagick picks up ghostscript. So keeping "CONFIGURE_ARGS
> > > > +=
> > > > --without-gslib" only matters if we also remove the
> > > > BUILD_DEPENDS+=
> > > >
> > > > :ghostscript-*:print/ghostscript/gnu[,no_x11] RUN_DEPENDS+=
> > > > :
> > > >   :ghostscript-*:print/ghostscript/gnu[,no_x11] lines.
> > >
> > > No, --without-gslib just ensures that GraphicsMagick isn't linked
> > > against libgs, even if libgs is available. It does *not* stop
> > > GraphicsMagick from using the ghostscript binary at runtime (for
> > > whatever purpose; I didn't yet have the time to look at
> > > GraphicsMagick).
> >
> > Aha! I can see clearly now :) In the spirit of that, it's a new
> > patch:
> >
> > http://leva.ecentrum.hu/patches/GraphicsMagick_1.2.6+no_gs.diff
>
> After a closer look at configure.ac and at the source trees after
> make configure (with ghostscript installed and uninstalled), I think
> you really don't need the no_gs flavor. The only relevant part that
> of GraphicsMagick that will be different is delegates.mgk, and it
> only differs in what ghostscript device will be used for the gs-color
> delegate (pnmraw vs. ppmraw).
>
> So you can omit the no_gs flavor and drop the RUN_DEPENDS on
> ghostscript (but not the BUILD_DEPENDS).
You mean to leave the BUILD_DEPENDS only if we are not building a no_x11 
FLAVOR, I presume?

Daniel

-- 
LEVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1

Reply via email to