Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jul 2005 22:20:17 -0400
From:      Chuck Swiger <cswiger@mac.com>
To:        Danny Pansters <danny@ricin.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Installing .la files for textproc/redland...
Message-ID:  <42DF0661.2080209@mac.com>
In-Reply-To: <200507210349.04912.danny@ricin.com>
References:  <42DEF1F5.9040306@mac.com> <200507210349.04912.danny@ricin.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Danny Pansters wrote:
> 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.

I should have mentioned that the source tarball will install .la files in 
/usr/local/lib if I simply invoke "./configure && make install" directly.

This being said, I am not opposed to installing them "by hand" via 
post-install, if that is the shortest route to solving the problem.

> 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.

Oh, I agree.  Autotools mixes useful stuff like "being able to change where 
stuff gets installed to" with a mind-boggling amount of silly tests that 
encourage people to write code which depends on compile-time feature detection 
rather than runtime detection, or which hardcodes datatype size rather than 
using modern (POSIX? C99?) datatypes like int32_t.

It's not clear that having an opinion with regard to this matter is useful, 
unfortunately.  Even if you write your own stuff to just use a Makefile, 
someone else will automangle their stuff... :-)

> 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.

Thanks for your suggestions.

-- 
-Chuck




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42DF0661.2080209>