curl: clear $XBPS_CROSS_BASE cruft

This commit is contained in:
Đoàn Trần Công Danh 2020-05-22 12:22:44 +07:00
parent 256d0bb5fe
commit c9f9f45b22
No known key found for this signature in database
GPG key ID: A48B52BF0EA3475A

View file

@ -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
}