From owner-freebsd-questions@FreeBSD.ORG Mon Jun 27 06:44:39 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A42F11065670 for ; Mon, 27 Jun 2011 06:44:39 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 61C238FC0C for ; Mon, 27 Jun 2011 06:44:39 +0000 (UTC) Received: from [93.104.94.201] (helo=localhost.my.domain) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1Qb5Yi-00080D-7T; Mon, 27 Jun 2011 08:44:36 +0200 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.4/8.14.3) with ESMTP id p5R6ian1002468; Mon, 27 Jun 2011 08:44:36 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.4/8.14.3/Submit) id p5R6iYxh002467; Mon, 27 Jun 2011 08:44:34 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Mon, 27 Jun 2011 08:44:34 +0200 From: Matthias Apitz To: Dan Nelson Message-ID: <20110627064434.GA2435@tinyCurrent> References: <20110625045740.GA3383@tinyCurrent> <20110626002051.GA44024@dan.emsphone.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20110626002051.GA44024@dan.emsphone.com> X-Operating-System: FreeBSD 8.0-CURRENT (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Originating-IP: 93.104.94.201 Cc: freebsd-questions@freebsd.org Subject: Re: pkg-config --cflags glib-2.0 gives wrong -I dir X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jun 2011 06:44:39 -0000 El día Saturday, June 25, 2011 a las 07:20:52PM -0500, Dan Nelson escribió: > Checking Solaris and SUSE Linux, I see a similar pair of directories: > > solaris$ pkg-config --cflags glib-2.0 > -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include > > linux$ pkg-config --cflags glib-2.0 > -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include > > The /usr/lib* directory on each system contains a single file: glibconfig.h. > On FreeBSD, this file is in /usr/local/include/glib-2.0/ along with all the > other headers (headers don't belong in /lib/ anyway). I totally agree: headers don't belong there. The same is broken for: $ pkg-config --cflags gtk+-2.0 -D_THREAD_SAFE -D_REENTRANT -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include....... matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/