After a little experimenting, I found that adding these expressions to
the shtool subst modifications of the configure script in the %prep
section of gd.spec seem to be enough to remove the automatic discovery
of the XPM libs (at least under RHEL4):
-e 's;[ \t]*/usr/X11R6/include;;g' \
On Thu, Jun 12, 2008, steve muskiewicz wrote:
In OpenPKG CURRENT, there are a couple of issues with some of the options to
the gd package:
If %option with_fontconfig no, then you need to pass an explicit
--without-fontconfig to configure, or else it ends up linking to it if the
packages are