aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2014-10-03 00:05:56 +0800
committerbdrewery <bdrewery@FreeBSD.org>2014-10-03 00:05:56 +0800
commit5884183c2d63ca0325d27cfa623645c65791675c (patch)
tree0c744fe51c73abfafee623073c05eac0de7f8a5c /Mk
parent24b1b57cb6d2d79e2feb0d3f152eaaf7c65f4367 (diff)
downloadfreebsd-ports-gnome-5884183c2d63ca0325d27cfa623645c65791675c.tar.gz
freebsd-ports-gnome-5884183c2d63ca0325d27cfa623645c65791675c.tar.zst
freebsd-ports-gnome-5884183c2d63ca0325d27cfa623645c65791675c.zip
- Reinstate r369644 fully to add the OSVERSION==UNAME_r sanity check.
FreshPorts, portsnap and indexbuild have all been fixed.
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.port.mk4
1 files changed, 0 insertions, 4 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 8e456166238a..0a6defdf3e25 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -1198,11 +1198,7 @@ OSVERSION!= ${AWK} '/^\#define[[:blank:]]__FreeBSD_version/ {print $$3}' < /usr/
.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