Re: Patch for ports on 10-current

From: Nali Toja <nalitoja_at_gmail.com>
Date: Mon, 10 Oct 2011 22:00:42 +0000
Doug Barton <dougb_at_FreeBSD.org> writes:

> Until the pointy-haireds come up with a better solution, here is a patch
> that incorporates work that others have done into a manageable form so
> that those interested in working with ports on 10-current have some
> tools to work with:
>
> http://dougbarton.us/bam.patch
[...]
> +.if ${OSVERSION} >= 1000000 && !defined(NO_LIBTOOL_FIXED)

The issue does not lie in OSVERSION but in OSREL. So, why not be smarter
and detect if a user has UNAME_r workaround in environment by

  .if ${OSREL:R} >= 10 && !defined(NO_FOO_FIX)
Received on Mon Oct 10 2011 - 20:01:42 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:18 UTC