1
0
mirror of https://github.com/SerenityOS/serenity synced 2024-07-09 07:20:46 +00:00
serenity/Ports/ObjFW/package.sh
2024-05-02 16:38:28 +02:00

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')