From owner-svn-ports-all@FreeBSD.ORG Thu Oct 2 16:05:57 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 37358F10; Thu, 2 Oct 2014 16:05:57 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2392F90F; Thu, 2 Oct 2014 16:05:57 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s92G5vmk057548; Thu, 2 Oct 2014 16:05:57 GMT (envelope-from bdrewery@FreeBSD.org) Received: (from bdrewery@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s92G5veV057547; Thu, 2 Oct 2014 16:05:57 GMT (envelope-from bdrewery@FreeBSD.org) Message-Id: <201410021605.s92G5veV057547@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: bdrewery set sender to bdrewery@FreeBSD.org using -f From: Bryan Drewery Date: Thu, 2 Oct 2014 16:05:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r369834 - head/Mk X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2014 16:05:57 -0000 Author: bdrewery Date: Thu Oct 2 16:05:56 2014 New Revision: 369834 URL: https://svnweb.freebsd.org/changeset/ports/369834 QAT: https://qat.redports.org/buildarchive/r369834/ Log: - Reinstate r369644 fully to add the OSVERSION==UNAME_r sanity check. FreshPorts, portsnap and indexbuild have all been fixed. Modified: head/Mk/bsd.port.mk Modified: head/Mk/bsd.port.mk ============================================================================== --- head/Mk/bsd.port.mk Thu Oct 2 16:04:25 2014 (r369833) +++ head/Mk/bsd.port.mk Thu Oct 2 16:05:56 2014 (r369834) @@ -1198,11 +1198,7 @@ OSVERSION!= ${AWK} '/^\#define[[:blank:] .elif exists(${SRC_BASE}/sys/sys/param.h) OSVERSION!= ${AWK} '/^\#define[[:blank:]]__FreeBSD_version/ {print $$3}' < ${SRC_BASE}/sys/sys/param.h .else -.if 0 .error Unable to determine OS version. Either define OSVERSION, install /usr/include/sys/param.h or define SRC_BASE. -.else -OSVERSION!= ${SYSCTL} -n kern.osreldate -.endif .endif .endif