Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Sep 2007 21:36:10 +0200
From:      Christoph Moench-Tegeder <cmt@burggraben.net>
To:        freebsd-ports@freebsd.org
Cc:        Jeremy Messenger <mezz7@cox.net>, David Southwell <david@vizion2000.net>
Subject:   Re: Cups upgrade compile failure
Message-ID:  <20070928193609.GA1182@elch.haidundneu23.net>
In-Reply-To: <op.tzdppdwv9aq2h7@mezz.mezzweb.com>
References:  <200709280917.07844.david@vizion2000.net> <200709281646.l8SGknje086075@pozo.com> <op.tzdppdwv9aq2h7@mezz.mezzweb.com>

next in thread | previous in thread | raw e-mail | index | archive | help
## Jeremy Messenger (mezz7@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


--- 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

-- 
Spare Space



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070928193609.GA1182>