From owner-freebsd-ports@FreeBSD.ORG Thu Jul 21 01:50:16 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 3910C16A420 for ; Thu, 21 Jul 2005 01:50:16 +0000 (GMT) (envelope-from danny@ricin.com) Received: from smtpq2.home.nl (smtpq2.home.nl [213.51.128.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D08943D45 for ; Thu, 21 Jul 2005 01:50:14 +0000 (GMT) (envelope-from danny@ricin.com) Received: from [213.51.128.136] (port=55083 helo=smtp5.home.nl) by smtpq2.home.nl with esmtp (Exim 4.30) id 1DvQCT-0007Rr-Ls for freebsd-ports@freebsd.org; Thu, 21 Jul 2005 03:50:13 +0200 Received: from cp464173-a.dbsch1.nb.home.nl ([84.27.215.228]:51749 helo=desktop.homenet) by smtp5.home.nl with esmtp (Exim 4.30) id 1DvQCR-0000MY-49 for freebsd-ports@freebsd.org; Thu, 21 Jul 2005 03:50:11 +0200 From: Danny Pansters To: freebsd-ports@freebsd.org Date: Thu, 21 Jul 2005 03:48:21 +0200 User-Agent: KMail/1.8 References: <42DEF1F5.9040306@mac.com> In-Reply-To: <42DEF1F5.9040306@mac.com> X-Face: "0Qv=,p:+]LvuqrtS4U\z3k"qN=.1]@=?utf-8?q?=258=3F=3BPoab=23v=27F=7E=0A=09!Wm=5Fe-=24=7EL=5D=3B?=>[c*L^Qoladj)x@mH}Bqz"vLO?Zdl}[@V@=?utf-8?q?U=3Fx3=23lI=3A=0A=09=24DN=7E!Hr?=@K`-mNv"zXm MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200507210348.22115.danny@ricin.com> X-AtHome-MailScanner-Information: Please contact support@home.nl for more information X-AtHome-MailScanner: Found to be clean Subject: Re: Installing .la files for textproc/redland... 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: Thu, 21 Jul 2005 01:50:16 -0000 Probably need to explicitely install them during do-install or post-install. That's likely the only way to be sure it gets to be where you want it to. Autotools are a nightmare. With *BSD one could even ask if they do more harm than good in many cases. It's _always_ messy. Even on *i*ux I sometimes think this is the case. I guess it helps folks to get generated Makefiles. If I were you I'd use post-install and be done with it (if carefully handled and added to plist it will also always be removed as-should upon uninstall). I always think that if you can't control what's supposed to be used but you can easily control your own stupid focussed solution, go for the latter. HTH, Dan On Thursday 21 July 2005 02:53, Chuck Swiger wrote: > Hi, all-- > > A port which depends on textproc/redland would like to use .la files. > How can I convince the port make stuff to not ignore .la files? > > I looked through /usr/ports/Mk/bsd.autotools.mk, and found this: > > # LIBTOOLFLAGS= > # - Arguments passed to libtool during configure step > # Currently defaults to "--disable-ltlibs", but this will be going > # away when libtool .la files are brought back > > ...so I dutifully added: > > LIBTOOLFLAGS= --enable-ltlibs > > ...to textproc/redland/Makefile. This causes the .la files to be built > under ${WORKSRC}, but libtool still decides not to install them: > > [ .... ] > creating rdfproc > gmake[2]: Entering directory > `/usr/ports/textproc/redland/work/redland-1.0.2/utils' test -z > "/usr/local/bin" || mkdir -p -- "/usr/local/bin" > /bin/sh /usr/local/bin/libtool15 --mode=install install -c -s -o root -g > wheel -m 555 'redland-db-upgrade' '/usr/local/bin/redland-db-upgrade' > libtool15: install: warning: `../librdf/librdf.la' has not been installed > in `/usr/local/lib' > libtool15: install: warning: > `/usr/ports/textproc/redland/work/redland-1.0.2/rasqal/librasqal.la' has > not been installed in `/usr/local/lib' > install -c -o root -g wheel -m 555 -s .libs/redland-db-upgrade > /usr/local/bin/redland-db-upgrade > /bin/sh /usr/local/bin/libtool15 --mode=install install -c -s -o root -g > wheel -m 555 'rdfproc' '/usr/local/bin/rdfproc' > libtool15: install: warning: `../librdf/librdf.la' has not been installed > in `/usr/local/lib' > libtool15: install: warning: > `/usr/ports/textproc/redland/work/redland-1.0.2/rasqal/librasqal.la' has > not been installed in `/usr/local/lib' > install -c -o root -g wheel -m 555 -s .libs/rdfproc /usr/local/bin/rdfproc > test -z "/usr/local/man/man1" || mkdir -p -- "/usr/local/man/man1"