From owner-freebsd-current@FreeBSD.ORG Mon Oct 10 22:01:42 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 22060106566C for ; Mon, 10 Oct 2011 22:01:42 +0000 (UTC) (envelope-from nalitoja@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id BC9088FC08 for ; Mon, 10 Oct 2011 22:01:41 +0000 (UTC) Received: by qadz30 with SMTP id z30so5708348qad.13 for ; Mon, 10 Oct 2011 15:01:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:in-reply-to:date:message-id:references :user-agent:mime-version:content-type; bh=IVGPOCNTcFP7T0iz8qBMLPeX0YWCV63thYRZTPMv2mg=; b=AJNUZpniydT4mQguV10xoWt5K/UG6h4stUC5/LXloyymExiLxN/6KpXRDQwcIXgYP2 33dZGITlkO7JOPwSEw0vXsoyrDMttyZOxrqPJcXgQOp3oj4WVDLJJx/Cz7R9KPdmAa2u 89QOl0nQUz4aE201m3mFeasL+OBY/OYLKzRpg= Received: by 10.224.218.198 with SMTP id hr6mr12615954qab.49.1318284100871; Mon, 10 Oct 2011 15:01:40 -0700 (PDT) Received: from nil (politkovskaja.torservers.net. [77.247.181.165]) by mx.google.com with ESMTPS id hn8sm16675692qab.2.2011.10.10.15.01.32 (version=SSLv3 cipher=OTHER); Mon, 10 Oct 2011 15:01:40 -0700 (PDT) From: Nali Toja To: Doug Barton In-Reply-To: <4E935C9C.2090502@FreeBSD.org> (Doug Barton's message of "Mon, 10 Oct 2011 13:59:08 -0700") Date: Mon, 10 Oct 2011 22:00:42 +0000 Message-ID: <86ipnw4id1.fsf@gmail.com> References: <4E935C9C.2090502@FreeBSD.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain Cc: FreeBSD Current , "freebsd-ports@FreeBSD.org" Subject: Re: Patch for ports on 10-current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Oct 2011 22:01:42 -0000 Doug Barton 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)