unix – Building webkit2-gtk with macports, errors sys / types not found

Trying to build webkit2 with macports, I get

: info: build / usr / bin / cc -c -I / opt / local / include -fno-common
-DPERL_DARWIN -mmacosx-version-min = 10.14 -pipe -Os -isysroot / Applications / Xcode.app / Contents / Developer / Platforms / MacOSX.platform / Developer / SDKs / MacOSX10.14.sdk
-fno-strict-aliasing -fstack-protector-strong -I / opt / local / include -DPERL_USE_SAFE_PUTENV -m64 -O3 -DVERSION =  "1.85 " -DXS_VERSION =  "1.85 " "-I / opt / local / lib / perl5 / 5.28 / darwin-thread-multi-2level / CORE "SSLeay.c: info: build clang: warning: there is no such sysroot directory: & # 39; /Applications/Xcode.app/Contents/Developer/Platforms/ MacOSX.platform / Developer / SDKs / MacOSX10.14.sdk & # 39; [-Wmissing-sysroot] : info: build in the included file from SSLeay.xs: 141:
: info: compile /opt/local/lib/perl5/5.28/darwin-thread-multi-2level/CORE/perl.h:684:10: fatal file error: the file & # 39; sys / was not found types.h & # 39;
: info: build #include 
: info: build ^ ~~~~~~~~~~~~
: info: generates 1 generated error. : info: make make: *** [SSLeay.o] Error 1

Is sys / types.h provided by netports, or a third-party POSIX-compat package?