From 8ebb43c93ac5b60b20bbd75f8bef2b4de71b955e Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Tue, 18 Mar 2008 21:23:20 +0000 Subject: [PATCH] gnutls: Hacked to not rebuild gnutls.info when cross compiling --- security/gnutls/gnutls.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/security/gnutls/gnutls.conf b/security/gnutls/gnutls.conf index 6b8415cec..59981f2d4 100644 --- a/security/gnutls/gnutls.conf +++ b/security/gnutls/gnutls.conf @@ -55,3 +55,9 @@ if pkginstalled opencdk ; then else var_append extraconfopt ' ' "--with-included-opencdk" fi + +if atstage cross; then + #HACK: don't rebuild gnutls.info in `make install`, a dependency is changed during `make all` + #HACK: so it get's rebuilt (unsuccessfully) during `make install` + hook_add inmake 5 'touch doc/gnutls.info' +fi