mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
. 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@
This commit is contained in:
parent
454c7f3786
commit
90ed75b874
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=249267
1 changed files with 15 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue