svn commit: r369834 - head/Mk

Bryan Drewery bdrewery at FreeBSD.org
Thu Oct 2 16:05:57 UTC 2014


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
 


More information about the svn-ports-all mailing list