diff options
author | glewis <glewis@FreeBSD.org> | 2010-06-09 14:28:24 +0800 |
---|---|---|
committer | glewis <glewis@FreeBSD.org> | 2010-06-09 14:28:24 +0800 |
commit | 835e3fc8093acb952f8dc1050eade2a92a546131 (patch) | |
tree | 1a996f44af8d9bf8423c3f7a722f5a23f953d7f6 /java/jdk16 | |
parent | 9a271c24511c4e3717447cb36319bdb54abcee4c (diff) | |
download | freebsd-ports-gnome-835e3fc8093acb952f8dc1050eade2a92a546131.tar.gz freebsd-ports-gnome-835e3fc8093acb952f8dc1050eade2a92a546131.tar.zst freebsd-ports-gnome-835e3fc8093acb952f8dc1050eade2a92a546131.zip |
. Add file missed in the last commit:
Use OSVERSION rather than directly invoking 'sysctl kern.osreldate' to
determine whether sigignore(3) is supported or not. This should
hopefully fix the build for QAT and pointyhat.
Suggested by: pgollucci@
Diffstat (limited to 'java/jdk16')
-rw-r--r-- | java/jdk16/files/patch-j2se-common-Defs-bsd.gmk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/jdk16/files/patch-j2se-common-Defs-bsd.gmk b/java/jdk16/files/patch-j2se-common-Defs-bsd.gmk index 7e835a0367a5..f479bc283f64 100644 --- a/java/jdk16/files/patch-j2se-common-Defs-bsd.gmk +++ b/java/jdk16/files/patch-j2se-common-Defs-bsd.gmk @@ -7,7 +7,7 @@ $FreeBSD$ override HAVE_SIGIGNORE = true endif +ifeq ($(OS_VENDOR),FreeBSD) -+OS_RELDATE := $(shell sysctl kern.osreldate | cut -d' ' -f2) ++OS_RELDATE := %%OSVERSION%% +HAS_SIGIGNORE := $(shell if [ $(OS_RELDATE) -ge 800502 -a $(OS_RELDATE) -lt 900000 -o $(OS_RELDATE) -ge 900003 ]; then echo "1"; fi) +ifeq ($(HAS_SIGIGNORE),1) +override HAVE_SIGIGNORE = true |