diff options
-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 |