From owner-freebsd-ports@FreeBSD.ORG Tue Nov 29 19:23:01 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 3D51D16A41F; Tue, 29 Nov 2005 19:23:01 +0000 (GMT) (envelope-from db@db.net) Received: from heceta.db.net (heceta.db.net [142.46.199.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id B151743D5C; Tue, 29 Nov 2005 19:22:59 +0000 (GMT) (envelope-from db@db.net) Received: from heceta.db.net ([142.46.199.182] helo=localhost ident=mailnull) by heceta.db.net with esmtp (Exim 4.24; FreeBSD 4.8) id 1EhB5K-0004uS-Iv; Tue, 29 Nov 2005 14:24:14 -0500 Received: from localhost.dbn ([127.0.0.1] helo=night.dbn) by night.db.net with esmtp (Exim 4.54 (FreeBSD)) id 1EhB6D-000EJ4-Qi; Tue, 29 Nov 2005 19:25:09 +0000 Received: (from db@localhost) by night.dbn (8.13.4/8.13.4/Submit) id jATJP9lr054997; Tue, 29 Nov 2005 14:25:09 -0500 (EST) (envelope-from db@night.dbn) Date: Tue, 29 Nov 2005 14:25:09 -0500 From: Diane Bruce To: freebsd-ports@freebsd.org Message-ID: <20051129192509.GA54936@night.dbn> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: 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 19:23:01 -0000 Hi, 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}/..../include can break or at least compile incorrectly if the port include files change between releases. If you are lucky, it will fail. -- - db@db.net http://www.db.net/~db