Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Oct 2014 16:05:56 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r369834 - head/Mk
Message-ID:  <201410021605.s92G5veV057547@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410021605.s92G5veV057547>