From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 12 01:35:15 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2057616A408 for ; Mon, 12 Feb 2007 01:35:15 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout4.cac.washington.edu (mxout4.cac.washington.edu [140.142.33.19]) by mx1.freebsd.org (Postfix) with ESMTP id E9C5913C442 for ; Mon, 12 Feb 2007 01:35:14 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout4.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id l1C1ZEvd026910 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 11 Feb 2007 17:35:14 -0800 X-Auth-Received: from [192.168.10.41] (c-67-187-172-183.hsd1.ca.comcast.net [67.187.172.183]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id l1C1ZDFT022537 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sun, 11 Feb 2007 17:35:14 -0800 Message-ID: <45CFC450.40609@u.washington.edu> Date: Sun, 11 Feb 2007 17:35:12 -0800 From: Garrett Cooper User-Agent: Thunderbird 1.5.0.9 (X11/20070122) MIME-Version: 1.0 To: freebsd-hackers@freebsd.org References: <45CE8BEC.7050404@u.washington.edu> <17870.42419.779434.735451@bhuda.mired.org> <2D763A31-2BAF-4AD5-A256-273CD37EB7A5@u.washington.edu> <17871.29428.183244.232189@gromit.timing.com> <17871.34327.776800.460172@bhuda.mired.org> <17871.43303.763189.645799@gromit.timing.com> In-Reply-To: <17871.43303.763189.645799@gromit.timing.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.3.0.289146, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2007.2.11.171935 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __LINES_OF_YELLING 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Subject: Re: Finding libraries to link with and autoconf resources? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Feb 2007 01:35:15 -0000 John E Hein wrote: > Mike Meyer wrote at 16:09 -0500 on Feb 11, 2007: > > In <17871.29428.183244.232189@gromit.timing.com>, John E Hein typed: > > > In your freebsd port, there is a common idiom that looks like this > > > in the Makefile: > > > > > > LDFLAGS+=-L/your/path/to/png/lib > > > CPPFLAGS+=-I/your/path/to/png/include > > > CONFIGURE_ENV=CPPFLAGS="${CPPFLAGS} LDFLAGS="${LDFLAGS} > > > > The port idiom is correctly more like: > > > > LDFLAGS+=-L$(LOCALBASE)/subdir/to/png/lib > > CPPFLAGS+=-I$(LOCALBASE)/subdir/to/png/include > > > > to get LOCALBASE correct. > > Not if you don't have it in LOCALBASE ;) (that's one of the problems I > have with ports - they all assume everything is in LOCALBASE, but I > often want to try stuff that I put elsewhere). > > But, yes, most ports do something like that. > > > > > ports@ is a better place to ask such questions, by the way. > > > > Unless it's really an autoconf question, in which case the right place > > would be an autoconf list. > > True enough... or the author of the original software if you really > want them to fix their configure / configure.in > > But ports@ or the PH is a good place to ask about working around such > upstream problems and getting it built on FreeBSD. Ok, will keep that in mind and I'll "forward" my question to that list. I just want to get the build going so then I can figure out what stuff needs to be modified for FreeBSD :). I appreciate the tips. Thanks! -Garrett