curl: update to 7.55.1
Fix two warnings during build about usage of CFLAGS.
This commit is contained in:
parent
67d24bd90f
commit
1c3095e8dc
1 changed files with 8 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template build file for 'curl'.
|
# Template build file for 'curl'.
|
||||||
pkgname=curl
|
pkgname=curl
|
||||||
version=7.55.0
|
version=7.55.1
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="ac_cv_sizeof_off_t=8
|
configure_args="ac_cv_sizeof_off_t=8
|
||||||
|
@ -21,12 +21,18 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://curl.haxx.se"
|
homepage="https://curl.haxx.se"
|
||||||
distfiles="$homepage/download/$pkgname-$version.tar.bz2"
|
distfiles="$homepage/download/$pkgname-$version.tar.bz2"
|
||||||
checksum=af1d69ec6f15fe70a2cabaa98309732bf035ef2a735e4e1a3e08754d2780e5b1
|
checksum=e5b1a92ed3b0c11f149886458fa063419500819f1610c020d62f25b8e4b16cfb
|
||||||
|
|
||||||
build_options="gnutls gssapi ldap rtmp ssh ssl"
|
build_options="gnutls gssapi ldap rtmp ssh ssl"
|
||||||
build_options_default="ssh ssl"
|
build_options_default="ssh ssl"
|
||||||
vopt_conflict ssl gnutls
|
vopt_conflict ssl gnutls
|
||||||
|
|
||||||
|
pre_configure() {
|
||||||
|
export CFLAGS="${CFLAGS/-D_FORTIFY_SOURCE=2/}"
|
||||||
|
export CFLAGS="${CFLAGS/-I${XBPS_CROSS_BASE}\/usr\/include/}"
|
||||||
|
export CPPFLAGS="-D_FORTIFY_SOURCE=2"
|
||||||
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense COPYING
|
vlicense COPYING
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue