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