How to port something requiring different versions depending on OSVERSION?

Darren Pilgrim freebsd at bitfreak.org
Mon Apr 26 02:54:58 UTC 2010


Wesley Shields wrote:
> On Sun, Apr 25, 2010 at 04:51:04PM -0700, Darren Pilgrim wrote:
>> Detect the OS version, install the latest version if running <8.x and 
>> install 2.01.09.004 if >=8.x.  I can't find anything in the Porter's 
>> Handbook that explicitly says NOT to do this.  Wesley Shields (wxs) says 
>> this "seems like a bad idea" without further qualification.  The only 
>> thing I could think of is the automated ports QA and packaging; however, 
>> those are moot because LSI requires pre-download agreement to a license 
>> which prohibits redistribution.
> 
> That does eliminate a lot of my concern. I didn't really have a
> hard-line stance on this. It just struck me as the kind of thing you
> want would to do as a last resort only.
> 
> Is there any way that libmap.conf can help here?

Sadly no.  Libmap only applies to dynamic-linked binaries.


More information about the freebsd-ports mailing list