diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2014-10-01 02:16:37 +0800 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2014-10-01 02:16:37 +0800 |
commit | 5c1c73d13c8d3d6872791bf209ff9360a0e49bf0 (patch) | |
tree | f3e9e71fc3eebcbc9316ad426ebe2217119b4d2f | |
parent | 342872276630be1107e3b765b7ff3d81a71e8080 (diff) | |
download | freebsd-ports-gnome-5c1c73d13c8d3d6872791bf209ff9360a0e49bf0.tar.gz freebsd-ports-gnome-5c1c73d13c8d3d6872791bf209ff9360a0e49bf0.tar.zst freebsd-ports-gnome-5c1c73d13c8d3d6872791bf209ff9360a0e49bf0.zip |
Partially revert r369644 temporarily (to add the OSVERSION=sysctl kern.osreldate)
as both FreshPorts and the portsnap INDEX need updates first.
-rw-r--r-- | Mk/bsd.port.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index 1fc5d258ea9c..0b88661a409a 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -1198,7 +1198,11 @@ 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 |