void-packages/srcpkgs/diffutils/template
Leah Neukirchen 6c93e1fba5 diffutils: force disable localtime buffer hacks.
This caused trouble when cross-compiling, as it defaults to 'yes'.

Closes #7539.
Thanks-to: @duncaen
2017-11-11 21:59:15 +01:00

18 lines
588 B
Bash

# Template file for 'diffutils'
pkgname=diffutils
version=3.6
revision=3
bootstrap=yes
build_style=gnu-configure
configure_args="gl_cv_func_gettimeofday_clobber=no gl_cv_func_tzset_clobber=no"
short_desc="The GNU diff utilities"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.gnu.org/software/diffutils"
license="GPL-3"
distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
checksum=d621e8bdd4b573918c8145f7ae61817d1be9deb4c8d2328a65cea8e11d783bd6
if [ -n "$CROSS_BUILD" ]; then
# Tell configure we have GNU getopt
configure_args+=" gl_cv_func_getopt_gnu=yes"
fi