mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 18:25:08 +03:00
fix(util-linux)[1]
This commit is contained in:
parent
f4ba93d4a9
commit
5fc8dc5335
1 changed files with 15 additions and 12 deletions
|
@ -108,19 +108,22 @@ build:
|
||||||
freedesktop.org/pkg-config: '*'
|
freedesktop.org/pkg-config: '*'
|
||||||
gnu.org/patch: '*'
|
gnu.org/patch: '*'
|
||||||
crates.io/semverator: '*'
|
crates.io/semverator: '*'
|
||||||
script: |
|
script:
|
||||||
if test darwin = {{hw.platform}} -a \
|
# thanks to MacPorts
|
||||||
semverator satisfies '<2.39' {{version}}; then
|
- |
|
||||||
patch -p0 <props/macports.patch # thanks to MacPorts
|
if test darwin = {{hw.platform}} && \
|
||||||
fi
|
semverator satisfies '<2.39' {{version}}; then
|
||||||
./configure $ARGS
|
patch -p0 <props/macports.patch
|
||||||
make --jobs {{hw.concurrency}} install
|
fi
|
||||||
|
- ./configure $ARGS
|
||||||
|
- make --jobs {{hw.concurrency}} install
|
||||||
|
|
||||||
cd "{{prefix}}/include"
|
- |
|
||||||
for x in $HEADERS; do
|
cd "{{prefix}}/include"
|
||||||
mv "$x/$x.h" .
|
for x in $HEADERS; do
|
||||||
ln -s "../$x.h" "$x/"
|
mv "$x/$x.h" .
|
||||||
done
|
ln -s "../$x.h" "$x/"
|
||||||
|
done
|
||||||
env:
|
env:
|
||||||
ARGS:
|
ARGS:
|
||||||
- --prefix={{prefix}}
|
- --prefix={{prefix}}
|
||||||
|
|
Loading…
Reference in a new issue