mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-15 12:23:15 +00:00
22 lines
605 B
Bash
Executable file
22 lines
605 B
Bash
Executable file
#!/usr/bin/env -S bash ../.port_include.sh
|
|
port='ObjFW'
|
|
version='1.1.2'
|
|
useconfigure='true'
|
|
files=(
|
|
"https://objfw.nil.im/downloads/objfw-${version}.tar.gz#5d9f9a70d583298e780ae11fc75a7ae2beeef904b301e1bc4f4ffa8d7ee31d9f"
|
|
)
|
|
workdir="objfw-${version}"
|
|
use_fresh_config_sub='true'
|
|
config_sub_paths=(
|
|
'build-aux/config.sub'
|
|
)
|
|
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')
|