diff --git a/Ports/ObjFW/package.sh b/Ports/ObjFW/package.sh index 8b75387f599..fa92976832b 100755 --- a/Ports/ObjFW/package.sh +++ b/Ports/ObjFW/package.sh @@ -13,3 +13,9 @@ config_sub_paths=( depends=( 'openssl' ) + +# Disable pledge support. +# If ObjFW detects pledge(), it expects it to be exactly OpenBSD-compatible, +# which ours is not. This then causes ObjFW to hard-abort upon trying to use +# pledge() to enter a sandbox. +configopts=('ac_cv_func_pledge=no')