configure scripts and FreeBSD-10
dim at FreeBSD.org
Wed Jan 29 14:22:34 UTC 2014
On 29 Jan 2014, at 14:15, Montgomery-Smith, Stephen <stephen at missouri.edu> wrote:
> I have ports with configure scripts that include lines like
> Now obviously the script will choose this case when I am running
> FreeBSD-10 as well as FreeBSD-1.
> What solutions have people used to deal with this? Does anyone have
> good examples of ports I can look at where this was solved? Somebody
> sent me a patch that replaces freebsd1*) with freebsd1[!0]*), but that
> will fail when FreeBSD-11 comes out.
Please have a look at /usr/ports/Mk/bsd.port.mk, and search for
"run-autotools-fixup". This stage is run automagically before the
configure stage, and replaces instances of freebsd1*, freebsd2* etc with
freebsd1.*, freebsd2.*, etc.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
More information about the freebsd-ports