--- jdk/make/common/shared/Platform.gmk.orig 2016-09-22 03:22:43.267820000 +0200 +++ jdk/make/common/shared/Platform.gmk 2016-09-22 03:23:40.813809000 +0200 @@ -264,6 +264,13 @@ MB_OF_MEMORY := $(shell free -m | fgrep Mem: | sed -e 's@\ \ *@ @g' | cut -d' ' -f2) endif +ifeq ($(SYSTEM_UNAME), BSDSUniX) + PLATFORM = bsd + OS_NAME = bsdsunix + OS_VENDOR = BSDSUniX + REQUIRED_OS_VERSION = 1.0 +endif + ifeq ($(SYSTEM_UNAME), FreeBSD) PLATFORM = bsd OS_NAME = freebsd