diff options
author | Greg Lewis <glewis@FreeBSD.org> | 2010-02-05 05:22:31 +0000 |
---|---|---|
committer | Greg Lewis <glewis@FreeBSD.org> | 2010-02-05 05:22:31 +0000 |
commit | 90ed75b874d9d1f4270f24c72e971962e7c2033c (patch) | |
tree | e979aaef0a56473fd07fd8160a07ff16cb72cee7 /java | |
parent | 454c7f37863e7edf7a22507312da1c89077a3b31 (diff) |
. Detect that recent versions of 9-CURRENT have sigignore(3) and configure
the build correctly for that.
Fixes the build on those versions of 9-CURRENT
PR: 141105
Collaboration with: fluffy@
Notes
Notes:
svn path=/head/; revision=249267
Diffstat (limited to 'java')
-rw-r--r-- | java/jdk16/files/patch-j2se-common-Defs-bsd.gmk | 16 |
1 files changed, 15 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 5dae8f0599a7..72baeb26dbda 100644 --- a/java/jdk16/files/patch-j2se-common-Defs-bsd.gmk +++ b/java/jdk16/files/patch-j2se-common-Defs-bsd.gmk @@ -2,7 +2,21 @@ $FreeBSD$ --- ../../j2se/make/common/Defs-bsd.gmk.orig Sun Jul 29 23:03:29 2007 +++ ../../j2se/make/common/Defs-bsd.gmk Sun Jul 29 23:03:29 2007 -@@ -293,7 +293,7 @@ +@@ -314,6 +314,13 @@ + ifeq ($(OS_VENDOR),NetBSD) + override HAVE_SIGIGNORE = true + endif ++ifeq ($(OS_VENDOR),FreeBSD) ++OS_RELDATE := $(shell sysctl kern.osreldate | cut -d' ' -f2) ++HAS_SIGIGNORE := $(shell if [ $(OS_RELDATE) -ge 900003 ]; then echo "1"; fi) ++ifeq ($(HAS_SIGIGNORE),1) ++override HAVE_SIGIGNORE = true ++endif ++endif + ifeq ($(OS_VENDOR),Apple) + override HAVE_SIGIGNORE = true + endif +@@ -332,7 +339,7 @@ override LIBTHREAD = override MOOT_PRIORITIES = true override NO_INTERRUPTIBLE_IO = false |