From owner-freebsd-ports@FreeBSD.ORG Fri Mar 19 19:00:49 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2076416A4CE; Fri, 19 Mar 2004 19:00:49 -0800 (PST) Received: from postman.arcor.de (postman4.arcor-online.net [151.189.0.154]) by mx1.FreeBSD.org (Postfix) with ESMTP id 87EA943D1D; Fri, 19 Mar 2004 19:00:48 -0800 (PST) (envelope-from eikemeier@fillmore-labs.com) Received: from fillmore.dyndns.org (port-212-202-51-138.reverse.qsc.de [212.202.51.138]) (authenticated bits=0)i2K30fD2002718 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Sat, 20 Mar 2004 04:00:42 +0100 (MET) Received: from [172.16.0.2] (helo=fillmore-labs.com) by fillmore.dyndns.org with esmtp (Exim 4.30; FreeBSD) id 1B4Wj1-000CJY-UY; Sat, 20 Mar 2004 04:00:40 +0100 Message-ID: <405BB3D7.5090905@fillmore-labs.com> Date: Sat, 20 Mar 2004 04:00:39 +0100 From: Oliver Eikemeier Organization: Fillmore Labs GmbH - http://www.fillmore-labs.com/ MIME-Version: 1.0 To: Doug Barton References: <405B9799.5000008@ciam.ru> <20040319184525.E85086@qbhto.arg> In-Reply-To: <20040319184525.E85086@qbhto.arg> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit User-Agent: KMail/1.5.9 cc: "ports@freebsd.org" cc: Sergey Matveychuk Subject: Re: mozilla and bind X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Mar 2004 03:00:49 -0000 Doug Barton wrote: [...] > Please try the following, and let me know if it works: > > 1. pkg_delete bind8* > 2. cd /usr/ && mv include include-old > 3. cd /usr/src && make includes > 4. cd /usr/ports/dns/bind8 > 5. Apply the following patch > 6. make clean && make -DPORT_REPLACES_BASE_BIND8 install > > Then test the mozilla build. I have every reason to believe this should > fix you up, if it does, please let me know and I'll commit this fix to > the bind8 and bind84 ports. [...] > -WRKSRC= ${WRKDIR}/src > +.if defined(PORT_REPLACES_BASE_BIND8_INCLUDES) > +INCLUDE_PATH= include > +PLIST_SUB+= INCLUDE_PATH=${INCLUDE_PATH} > +.else > +INCLUDE_PATH= include/bind > +PLIST_SUB+= INCLUDE_PATH=${INCLUDE_PATH} > +.endif Since this may still overwrite the include files without changing the PKGNAME, it seems like a good idea to keep the build conflicts with bind8-base ports. Moreover we can run into problems if the port is installed with PORT_REPLACES_BASE_BIND8_INCLUDES, without PORT_REPLACES_BASE_BIND8 and /usr/local/include is in the path. -Oliver