From owner-freebsd-ports@FreeBSD.ORG Tue Nov 29 20:40:04 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org 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 E76E516A41F for ; Tue, 29 Nov 2005 20:40:04 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D31943D5E for ; Tue, 29 Nov 2005 20:40:04 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 5ADDB1A3C25; Tue, 29 Nov 2005 12:40:04 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id A70225158D; Tue, 29 Nov 2005 15:40:03 -0500 (EST) Date: Tue, 29 Nov 2005 15:40:03 -0500 From: Kris Kennaway To: Diane Bruce Message-ID: <20051129204003.GA56311@xor.obsecurity.org> References: <20051129192509.GA54936@night.dbn> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ew6BAiZeqk4r7MaW" Content-Disposition: inline In-Reply-To: <20051129192509.GA54936@night.dbn> User-Agent: Mutt/1.4.2.1i Cc: freebsd-ports@freebsd.org Subject: Re: Just a note about include files in ports 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: Tue, 29 Nov 2005 20:40:05 -0000 --ew6BAiZeqk4r7MaW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 29, 2005 at 02:25:09PM -0500, Diane Bruce wrote: > Hi, >=20 > Be careful with includes in a port build. I have caught two ports using > the include files installed by a previous version of the port instead > of the local port copy of the same include file. (Yes, one was in one > of my own ports.) In particular, configure args that put the -I > to /usr/local/include or /usr/X11/include before the -I ${WRKSRC}/..../in= clude > can break or at least compile incorrectly if the port include files change > between releases. If you are lucky, it will fail. Parts of KDE and GNOME do this :-( It's one of the main reasons that 'portupgrade' doesn't just work for upgrading them. Kris --ew6BAiZeqk4r7MaW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDjLyjWry0BWjoQKURAoAcAKDM93a/A8I5QXt1WRAeR6n0XOaIygCfVLVA eyKq73OKa8zk17CozS4ySZw= =vUCi -----END PGP SIGNATURE----- --ew6BAiZeqk4r7MaW--