curl: clear $XBPS_CROSS_BASE cruft
This commit is contained in:
parent
256d0bb5fe
commit
c9f9f45b22
1 changed files with 4 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'curl'
|
||||
pkgname=curl
|
||||
version=7.70.0
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
configure_args="ac_cv_sizeof_off_t=8 --enable-threaded-resolver --enable-ipv6
|
||||
$(vopt_with rtmp) $(vopt_with gssapi) $(vopt_enable ldap) $(vopt_with gnutls)
|
||||
|
@ -33,6 +33,9 @@ pre_configure() {
|
|||
}
|
||||
|
||||
post_install() {
|
||||
# Don't touch --configure, it reflect how curl was built
|
||||
vsed -e "/[ ]*--static-libs)/,/[ ]*;;/ s,-L$XBPS_CROSS_BASE,-L," \
|
||||
-i $DESTDIR/usr/bin/curl-config
|
||||
vlicense COPYING
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue