From owner-freebsd-ports@FreeBSD.ORG Fri Sep 28 20:31:59 2007 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3295316A46D for ; Fri, 28 Sep 2007 20:31:59 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmmtao102.cox.net (eastrmmtao102.cox.net [68.230.240.8]) by mx1.freebsd.org (Postfix) with ESMTP id BF5BA13C461 for ; Fri, 28 Sep 2007 20:31:58 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmimpo02.cox.net ([68.1.16.120]) by eastrmmtao102.cox.net (InterMail vM.7.08.02.01 201-2186-121-102-20070209) with ESMTP id <20070928203158.HGLA924.eastrmmtao102.cox.net@eastrmimpo02.cox.net>; Fri, 28 Sep 2007 16:31:58 -0400 Received: from mezz.mezzweb.com ([24.255.149.218]) by eastrmimpo02.cox.net with bizsmtp id twXx1X0054iy4EG0000000; Fri, 28 Sep 2007 16:31:57 -0400 Date: Fri, 28 Sep 2007 15:35:51 -0500 To: "Christoph Moench-Tegeder" From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 References: <200709280917.07844.david@vizion2000.net> <200709281646.l8SGknje086075@pozo.com> <20070928193609.GA1182@elch.haidundneu23.net> Content-Transfer-Encoding: Quoted-Printable Message-ID: In-Reply-To: <20070928193609.GA1182@elch.haidundneu23.net> User-Agent: Opera Mail/9.23 (Linux) Cc: David Southwell , freebsd-ports@freebsd.org Subject: Re: Cups upgrade compile failure X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Sep 2007 20:31:59 -0000 On Fri, 28 Sep 2007 14:36:10 -0500, Christoph Moench-Tegeder = wrote: > ## 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 CUP= S = >> too. > > I just filed ports/116721 for that, patch included. See > http://www.freebsd.org/cgi/query-pr.cgi?pr=3D116721 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 =3D $(SSLFLAGS) @LARGEFILE@ @PTHREAD_FLAGS@ \ > - $(OPTIONS) $(CFLAGS) > +ALL_CFLAGS =3D $(CFLAGS) $(SSLFLAGS) @LARGEFILE@ @PTHREAD_FLAGS@ \ > + $(OPTIONS) > ARCHFLAGS =3D @ARCHFLAGS@ > ARFLAGS =3D @ARFLAGS@ > BACKLIBS =3D @BACKLIBS@ > > > Regards > Christoph -- = mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team - FreeBSD Multimedia Hat (ports, not src) http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org http://wiki.freebsd.org/multimedia - multimedia@FreeBSD.org