forked from Lainports/freebsd-ports
. 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@
This commit is contained in:
parent
1bcc430587
commit
2d4d115102
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue