serenity/Ports/ObjFW/package.sh

22 lines
605 B
Bash
Raw Normal View History

2023-07-23 13:28:05 +00:00
#!/usr/bin/env -S bash ../.port_include.sh
port='ObjFW'
version='1.1.2'
useconfigure='true'
2023-07-10 11:10:29 +00:00
files=(
"https://objfw.nil.im/downloads/objfw-${version}.tar.gz#5d9f9a70d583298e780ae11fc75a7ae2beeef904b301e1bc4f4ffa8d7ee31d9f"
2023-07-10 11:10:29 +00:00
)
workdir="objfw-${version}"
2023-07-23 13:28:05 +00:00
use_fresh_config_sub='true'
config_sub_paths=(
'build-aux/config.sub'
)
depends=(
'openssl'
)
2024-04-23 12:35:15 +00:00
# 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')