From patchwork Wed Dec 26 13:55:47 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Zacarias X-Patchwork-Id: 208172 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 5642B2C00BF for ; Thu, 27 Dec 2012 00:56:05 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 0DF12FFC13; Wed, 26 Dec 2012 13:55:55 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7HkMcgaa21mo; Wed, 26 Dec 2012 13:55:53 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 18126FF998; Wed, 26 Dec 2012 13:55:53 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id F1A588F74B for ; Wed, 26 Dec 2012 13:56:06 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 3F2298621E for ; Wed, 26 Dec 2012 13:56:01 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cqJHgByIgoTz for ; Wed, 26 Dec 2012 13:55:59 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from loknar.toptech.com.ar (loknar.toptech.com.ar [78.46.79.162]) by whitealder.osuosl.org (Postfix) with ESMTPS id 5575885B50 for ; Wed, 26 Dec 2012 13:55:58 +0000 (UTC) Received: from asgard (host204.190-231-107.telecom.net.ar [190.231.107.204]) (authenticated bits=0) by loknar.toptech.com.ar (8.14.5/8.14.5) with ESMTP id qBQDtptn001004 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 26 Dec 2012 13:55:54 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zacarias.com.ar; s=dkey; t=1356530156; bh=oRRHzYjXaMKRpAbmDuH+dtONiUu0WwqYjFiKaOjbHVQ=; h=From:To:Cc:Subject:Date; b=ES8frEpOjkKBKSPITzSitg6nfd75pjoslZ72oZ5ihYBOxvB54vlfB0Wv7Gvj2wHUD 5loPiPpQm31uZFGdsQXuzVyrCRhYWcSWOwvVeeW1S/kdcUAQ+a6QsEBVF8a1U3J9Hy 7ymeBhJlwdYRQ9cYs8jV53j4/iiGTUY6VnzsHvXM= Received: by asgard (sSMTP sendmail emulation); Wed, 26 Dec 2012 10:55:50 -0300 From: Gustavo Zacarias To: buildroot@busybox.net Date: Wed, 26 Dec 2012 10:55:47 -0300 Message-Id: <1356530149-12305-1-git-send-email-gustavo@zacarias.com.ar> X-Mailer: git-send-email 1.7.8.6 X-Virus-Scanned: clamav-milter 0.97.5 at loknar X-Virus-Status: Clean Subject: [Buildroot] [PATCH 1/3] libgcrypt: disable tests X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net The testsuite uses fork() hence fails on !MMU targets. We don't use/install these so just get rid of them. Signed-off-by: Gustavo Zacarias --- package/libgcrypt/libgcrypt.mk | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/package/libgcrypt/libgcrypt.mk b/package/libgcrypt/libgcrypt.mk index a320e48..3aa60c6 100644 --- a/package/libgcrypt/libgcrypt.mk +++ b/package/libgcrypt/libgcrypt.mk @@ -10,6 +10,7 @@ LIBGCRYPT_LICENSE = LGPLv2.1+ LIBGCRYPT_LICENSE_FILES = COPYING.LIB LIBGCRYPT_SITE = ftp://ftp.gnupg.org/gcrypt/libgcrypt LIBGCRYPT_INSTALL_STAGING = YES +LIBGCRYPT_DEPENDENCIES = libgpg-error LIBGCRYPT_CONF_ENV = \ ac_cv_sys_symbol_underscore=no @@ -17,6 +18,12 @@ LIBGCRYPT_CONF_OPT = \ --disable-optimization \ --with-gpg-error-prefix=$(STAGING_DIR)/usr -LIBGCRYPT_DEPENDENCIES = libgpg-error +# Tests use fork() +define LIBGCRYPT_DISABLE_TESTS + $(SED) 's/ tests//' $(@D)/Makefile.in +endef + +LIBGCRYPT_POST_PATCH_HOOKS += LIBGCRYPT_DISABLE_TESTS + $(eval $(autotools-package))