closes #3819
closes #3818

wip

lolwip

wip

wip

i forgot how these stack

_Nullable is clang, not gcc...
This commit is contained in:
Jacob Heider 2023-10-26 00:36:24 -04:00 committed by Jacob Heider
parent 8360279400
commit 38dcc62bdc

View file

@ -17,7 +17,7 @@ dependencies:
gnu.org/gettext: '*' gnu.org/gettext: '*'
gnu.org/gmp: '*' gnu.org/gmp: '*'
libsodium.org: '<1.0.19' # dylib version changed from 23 > 26 libsodium.org: '<1.0.19' # dylib version changed from 23 > 26
libzip.org: '*' libzip.org: ~1.9
github.com/kkos/oniguruma: '*' github.com/kkos/oniguruma: '*'
openssl.org: '*' openssl.org: '*'
pcre.org/v2: '>=10.30' pcre.org/v2: '>=10.30'
@ -29,7 +29,7 @@ dependencies:
thrysoee.dk/editline: '*' thrysoee.dk/editline: '*'
sourceware.org/libffi: '>=3.0.11' sourceware.org/libffi: '>=3.0.11'
gnome.org/libxslt: '>=1.1.0' gnome.org/libxslt: '>=1.1.0'
gnu.org/gcc: '*' gnu.org/gcc: <13
libpng.org: '*' libpng.org: '*'
google.com/webp: '*' google.com/webp: '*'
ijg.org: '*' ijg.org: '*'
@ -43,12 +43,13 @@ build:
freetype.org: '*' freetype.org: '*'
darwin: darwin:
tukaani.org/xz: '*' tukaani.org/xz: '*'
linux:
gnu.org/make: '*'
script: | script: |
./configure $ARGS ./configure $ARGS
make --jobs {{ hw.concurrency }} install make --jobs {{ hw.concurrency }} install
env: env:
LDFLAGS: -Wl,-rpath,{{pkgx.prefix}}
ARGS: ARGS:
- --prefix={{prefix}} - --prefix={{prefix}}
- --enable-bcmath - --enable-bcmath
@ -87,14 +88,21 @@ build:
- --with-sodium - --with-sodium
- --with-sqlite3 - --with-sqlite3
- --with-xsl - --with-xsl
- --with-zip
- --with-zlib - --with-zlib
- --disable-dtrace - --disable-dtrace
- --without-ldap-sasl - --without-ldap-sasl
- --without-ndbm - --without-ndbm
- --without-gdbm - --without-gdbm
- CC=gcc
linux:
LDFLAGS: -Wl,-rpath,{{pkgx.prefix}}
darwin: darwin:
# ... we need to link with headerpad...
LDFLAGS: -Wl,-rpath,{{pkgx.prefix}},-headerpad_max_install_names
ARGS: ARGS:
# FIXME: we'd like zip support for linux, but libzip's zip.h is using
# clang _Nullable and gcc doesn't like it.
- --with-zip
- --enable-dtrace - --enable-dtrace
- --with-ldap-sasl - --with-ldap-sasl