Date: Mon, 10 Oct 2011 22:00:42 +0000 From: Nali Toja <nalitoja@gmail.com> To: Doug Barton <dougb@FreeBSD.org> Cc: FreeBSD Current <freebsd-current@FreeBSD.org>, "freebsd-ports@FreeBSD.org" <freebsd-ports@FreeBSD.org> Subject: Re: Patch for ports on 10-current Message-ID: <86ipnw4id1.fsf@gmail.com> In-Reply-To: <4E935C9C.2090502@FreeBSD.org> (Doug Barton's message of "Mon, 10 Oct 2011 13:59:08 -0700") References: <4E935C9C.2090502@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Doug Barton <dougb@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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86ipnw4id1.fsf>