From owner-freebsd-ports@FreeBSD.ORG Fri Sep 28 20:03:28 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 6F82816A419 for ; Fri, 28 Sep 2007 20:03:28 +0000 (UTC) (envelope-from cmt@burggraben.net) Received: from smtp.burggraben.net (ns.haidundneu23.net [213.133.108.24]) by mx1.freebsd.org (Postfix) with ESMTP id E66AE13C448 for ; Fri, 28 Sep 2007 20:03:27 +0000 (UTC) (envelope-from cmt@burggraben.net) Received: from localhost (localhost [127.0.0.1]) by smtp.burggraben.net (Postfix) with ESMTP id B6EF368192; Fri, 28 Sep 2007 21:36:17 +0200 (CEST) X-Spam-Scanned: by amavisd-new at haidundneu23.net Received: from smtp.burggraben.net ([127.0.0.1]) by localhost (ns.haidundneu23.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lzFc5t-gklT5; Fri, 28 Sep 2007 21:36:11 +0200 (CEST) Received: from storage.haidundneu23.net (p54A3EAC5.dip.t-dialin.net [84.163.234.197]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "storage.haidundneu23.net", Issuer "Christoph Moench-Tegeder" (verified OK)) by smtp.burggraben.net (Postfix) with ESMTP; Fri, 28 Sep 2007 21:36:11 +0200 (CEST) Received: from elch.haidundneu23.net (elch.haidundneu23.net [10.0.42.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "elch.haidundneu23.net", Issuer "Christoph Moench-Tegeder" (verified OK)) by storage.haidundneu23.net (Postfix) with ESMTP id D2319181644; Fri, 28 Sep 2007 21:36:10 +0200 (CEST) Received: by elch.haidundneu23.net (Postfix, from userid 1000) id 6E0D8C48A; Fri, 28 Sep 2007 21:36:10 +0200 (CEST) Date: Fri, 28 Sep 2007 21:36:10 +0200 From: Christoph Moench-Tegeder To: freebsd-ports@freebsd.org Message-ID: <20070928193609.GA1182@elch.haidundneu23.net> References: <200709280917.07844.david@vizion2000.net> <200709281646.l8SGknje086075@pozo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: X-PGP-Key: RSA/2048 0xB816EBBD X-PGP-Fingerprint: 89 2E 6D 05 95 B8 D7 1F 7C 1D C3 1E 95 A0 9B 5D X-GPG: supported User-Agent: mutt-ng/devel-r804 (FreeBSD) Cc: Jeremy Messenger , David Southwell 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:03:28 -0000 ## 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