Date: Wed, 29 Jan 2014 15:22:08 +0100 From: Dimitry Andric <dim@FreeBSD.org> To: "Montgomery-Smith, Stephen" <stephen@missouri.edu> Cc: "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org> Subject: Re: configure scripts and FreeBSD-10 Message-ID: <9FC957F9-43EA-4545-9F88-54136FEA708C@FreeBSD.org> In-Reply-To: <52E8FF06.5080708@missouri.edu> References: <52E8FF06.5080708@missouri.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_9B92CAC1-027B-4BD3-91C5-B21DCEC10DAF Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 29 Jan 2014, at 14:15, Montgomery-Smith, Stephen = <stephen@missouri.edu> wrote: > I have ports with configure scripts that include lines like >=20 > freebsd1*) >=20 > Now obviously the script will choose this case when I am running > FreeBSD-10 as well as FreeBSD-1. >=20 > 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. -Dimitry --Apple-Mail=_9B92CAC1-027B-4BD3-91C5-B21DCEC10DAF Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iEYEARECAAYFAlLpDpUACgkQsF6jCi4glqP+cgCePRnLQOBndLWWuDNpyzKixK3q hOwAoJHGcZ7UYPTlKrD9DyI3S8eOng0p =gyzb -----END PGP SIGNATURE----- --Apple-Mail=_9B92CAC1-027B-4BD3-91C5-B21DCEC10DAF--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9FC957F9-43EA-4545-9F88-54136FEA708C>