configure scripts and FreeBSD-10

Dimitry Andric dim at
Wed Jan 29 14:22:34 UTC 2014

On 29 Jan 2014, at 14:15, Montgomery-Smith, Stephen <stephen at> wrote:
> I have ports with configure scripts that include lines like
> freebsd1*)
> 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/, 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...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <>

More information about the freebsd-ports mailing list