Cups upgrade compile failure
Jeremy Messenger
mezz7 at cox.net
Fri Sep 28 13:31:59 PDT 2007
On Fri, 28 Sep 2007 14:36:10 -0500, Christoph Moench-Tegeder
<cmt at burggraben.net> wrote:
> ## Jeremy Messenger (mezz7 at cox.net):
>
>> >If you get rid of /usr/local/include/cups directory , it works
>> >Somehow it picks up those includes instead of the ones in the port
>> diectory
>> Above shows that it has four of '-I/usr/local/include' before that
>> '-I..'. I
>> had to solve problem in libsndfile by using '-isystem
>> ${LOCALBASE}/include'
>> instead '-I${LOCALBASE}/include' in CPPFLAGS, so it may works for CUPS
>> too.
>
> I just filed ports/116721 for that, patch included. See
> http://www.freebsd.org/cgi/query-pr.cgi?pr=116721 or put this in
> files/patch-Makedefs.in
Thanks! This is a better solution as I have pointed about that if that
'-I/usr/local/include' do not come from -I${LOCALBASE}/include' in port
Makefile's CPPFLAGS then it's a CUPS bug. I think you should file a bug
report in CUPS's bugzilla or whatever what tool they have. Unless it has
been solved in CUPS 1.3.2.
/me goes to fetch this patch for he can upgrade his system tonight or
tomorrow.
Cheers,
Mezz
> --- Makedefs.in.orig Fri Sep 28 21:13:27 2007
> +++ Makedefs.in Fri Sep 28 21:13:48 2007
> @@ -108,8 +108,8 @@
> # for extra debug info)
> #
> -ALL_CFLAGS = $(SSLFLAGS) @LARGEFILE@ @PTHREAD_FLAGS@ \
> - $(OPTIONS) $(CFLAGS)
> +ALL_CFLAGS = $(CFLAGS) $(SSLFLAGS) @LARGEFILE@ @PTHREAD_FLAGS@ \
> + $(OPTIONS)
> ARCHFLAGS = @ARCHFLAGS@
> ARFLAGS = @ARFLAGS@
> BACKLIBS = @BACKLIBS@
>
>
> Regards
> Christoph
--
mezz7 at cox.net - mezz at FreeBSD.org
FreeBSD GNOME Team - FreeBSD Multimedia Hat (ports, not src)
http://www.FreeBSD.org/gnome/ - gnome at FreeBSD.org
http://wiki.freebsd.org/multimedia - multimedia at FreeBSD.org
More information about the freebsd-ports
mailing list