mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
curl: prevent no-op vsed for native builds
This commit is contained in:
parent
3156f8f044
commit
bc2ebb54aa
1 changed files with 7 additions and 3 deletions
|
@ -34,9 +34,13 @@ pre_configure() {
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
# Don't touch --configure, it reflect how curl was built
|
# Fix linker search paths when necessary
|
||||||
vsed -e "/[ ]*--static-libs)/,/[ ]*;;/ s,-L$XBPS_CROSS_BASE,-L," \
|
if [ -n "$XBPS_CROSS_BASE" ]; then
|
||||||
-i $DESTDIR/usr/bin/curl-config
|
# Leave $XBPS_CROSS_BASE in --configure to reflect how it was built
|
||||||
|
vsed -i $DESTDIR/usr/bin/curl-config \
|
||||||
|
-e "/[ ]*--static-libs)/,/[ ]*;;/ s,-L$XBPS_CROSS_BASE,-L,"
|
||||||
|
fi
|
||||||
|
|
||||||
vlicense COPYING
|
vlicense COPYING
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue