diff --git a/srcpkgs/diffutils/template b/srcpkgs/diffutils/template index 42763baa407..2edd1a6cbbe 100644 --- a/srcpkgs/diffutils/template +++ b/srcpkgs/diffutils/template @@ -1,7 +1,7 @@ # Template file for 'diffutils' pkgname=diffutils version=3.6 -revision=1 +revision=2 bootstrap=yes build_style=gnu-configure short_desc="The GNU diff utilities" @@ -10,3 +10,8 @@ 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