summaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2014-10-02 16:05:56 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2014-10-02 16:05:56 +0000
commit89662d08b40f6898d8273e351e21418c322ff6d8 (patch)
tree0c744fe51c73abfafee623073c05eac0de7f8a5c /Mk
parenta780f126a9a08f3b9ef0d137df427a28dc4abe42 (diff)
downloadfreebsd-ports-89662d08b40f6898d8273e351e21418c322ff6d8.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