fix(util-linux)

This commit is contained in:
Jacob Heider 2023-05-17 12:20:04 -04:00
parent 58ac56327f
commit f4ba93d4a9
No known key found for this signature in database
GPG key ID: 59D15ADC7DCD39BB

View file

@ -107,8 +107,10 @@ build:
gnu.org/bison: '*'
freedesktop.org/pkg-config: '*'
gnu.org/patch: '*'
crates.io/semverator: '*'
script: |
if test darwin = {{hw.platform}}; then
if test darwin = {{hw.platform}} -a \
semverator satisfies '<2.39' {{version}}; then
patch -p0 <props/macports.patch # thanks to MacPorts
fi
./configure $ARGS