diff --git a/srcpkgs/curl/template b/srcpkgs/curl/template index a36a3ec32e..1c91f3cdfa 100644 --- a/srcpkgs/curl/template +++ b/srcpkgs/curl/template @@ -1,6 +1,6 @@ # Template build file for 'curl'. pkgname=curl -version=7.55.0 +version=7.55.1 revision=1 build_style=gnu-configure configure_args="ac_cv_sizeof_off_t=8 @@ -21,12 +21,18 @@ maintainer="Juan RP " license="MIT" homepage="https://curl.haxx.se" distfiles="$homepage/download/$pkgname-$version.tar.bz2" -checksum=af1d69ec6f15fe70a2cabaa98309732bf035ef2a735e4e1a3e08754d2780e5b1 +checksum=e5b1a92ed3b0c11f149886458fa063419500819f1610c020d62f25b8e4b16cfb build_options="gnutls gssapi ldap rtmp ssh ssl" build_options_default="ssh ssl" 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() { vlicense COPYING }