From patchwork Sun Jul 23 13:36:19 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 792560 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3xFlsV2T91z9s65 for ; Sun, 23 Jul 2017 23:36:46 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 22B742F2A2; Sun, 23 Jul 2017 13:36:41 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pW5avHCX9Qnm; Sun, 23 Jul 2017 13:36:39 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 75E5A25504; Sun, 23 Jul 2017 13:36:39 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id E309B1C4445 for ; Sun, 23 Jul 2017 13:36:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id D74CA88804 for ; Sun, 23 Jul 2017 13:36:34 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4IUaiiwsPfhD for ; Sun, 23 Jul 2017 13:36:33 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailout01.t-online.de (mailout01.t-online.de [194.25.134.80]) by hemlock.osuosl.org (Postfix) with ESMTPS id 62D5188802 for ; Sun, 23 Jul 2017 13:36:33 +0000 (UTC) Received: from fwd37.aul.t-online.de (fwd37.aul.t-online.de [172.20.27.137]) by mailout01.t-online.de (Postfix) with SMTP id C880142B7934; Sun, 23 Jul 2017 15:36:30 +0200 (CEST) Received: from fli4l.lan.fli4l (bNGcbuZGQh983RUmYG+JjZbn-1D1jOBytEHy86f7j32XlzVY48FkhLo3ALwRw9pgfE@[79.228.3.209]) by fwd37.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1dZH3V-1Uxu9A0; Sun, 23 Jul 2017 15:36:21 +0200 Received: from mahler.lan.fli4l ([192.168.1.1]:33588 helo=kuhls.lan.fli4l) by fli4l.lan.fli4l with esmtp (Exim 4.89) (envelope-from ) id 1dZH3U-0006hv-W7; Sun, 23 Jul 2017 15:36:21 +0200 From: Bernd Kuhls To: buildroot@buildroot.org Date: Sun, 23 Jul 2017 15:36:19 +0200 Message-Id: <20170723133620.13487-2-bernd.kuhls@t-online.de> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170723133620.13487-1-bernd.kuhls@t-online.de> References: <20170723133620.13487-1-bernd.kuhls@t-online.de> X-ID: bNGcbuZGQh983RUmYG+JjZbn-1D1jOBytEHy86f7j32XlzVY48FkhLo3ALwRw9pgfE X-TOI-MSGID: 4881d679-27b4-4114-b42f-ccbd3b3cb6b0 Subject: [Buildroot] [PATCH 2/3] package/samba4: add optional dependency to dbus X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 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" samba4 picks up dbus as dependency if it was built before: Checking for dbus : yes Checking for header dbus/dbus.h : yes Checking for library dbus-1 : yes There is no configure option to control dbus support so we just make sure dbus is built before samba4 to have reproducible builds. Signed-off-by: Bernd Kuhls --- package/samba4/samba4.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/samba4/samba4.mk b/package/samba4/samba4.mk index ccdd13e2f..ab3f67dc9 100644 --- a/package/samba4/samba4.mk +++ b/package/samba4/samba4.mk @@ -40,6 +40,10 @@ else SAMBA4_CONF_OPTS += --disable-cups endif +ifeq ($(BR2_PACKAGE_DBUS),y) +SAMBA4_DEPENDENCIES += dbus +endif + ifeq ($(BR2_PACKAGE_DBUS)$(BR2_PACKAGE_AVAHI_DAEMON),yy) SAMBA4_CONF_OPTS += --enable-avahi SAMBA4_DEPENDENCIES += avahi