From: Jani Nikula Date: Wed, 13 Apr 2016 18:08:45 +0000 (+0300) Subject: [PATCH] bindings: drop build time message on missing ruby dependency X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b943529a2766df1d17d44a11eaed408544e824be;p=notmuch-archives.git [PATCH] bindings: drop build time message on missing ruby dependency --- diff --git a/00/81e01d7242fef28e151571d35d90dd82672766 b/00/81e01d7242fef28e151571d35d90dd82672766 new file mode 100644 index 000000000..8192a1542 --- /dev/null +++ b/00/81e01d7242fef28e151571d35d90dd82672766 @@ -0,0 +1,112 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id 6461E6DE0127 + for ; Wed, 13 Apr 2016 11:10:11 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.561 +X-Spam-Level: +X-Spam-Status: No, score=-0.561 tagged_above=-999 required=5 tests=[AWL=0.159, + DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, + RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled +Received: from arlo.cworth.org ([127.0.0.1]) + by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id ZoFjPAEULkfc for ; + Wed, 13 Apr 2016 11:10:03 -0700 (PDT) +Received: from mail-wm0-f46.google.com (mail-wm0-f46.google.com + [74.125.82.46]) by arlo.cworth.org (Postfix) with ESMTPS id 1AB5F6DE00F1 for + ; Wed, 13 Apr 2016 11:10:02 -0700 (PDT) +Received: by mail-wm0-f46.google.com with SMTP id a140so114801348wma.0 + for ; Wed, 13 Apr 2016 11:10:02 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=nikula-org.20150623.gappssmtp.com; s=20150623; + h=from:to:cc:subject:date:message-id; + bh=KKbF6OuzCzq6Ilb0Y2evRpGsZkcb1bXzPbjw5b8+PVg=; + b=JF2GUqSr84u4STYsERa6VDuFJl7OuvKFeBtQ6UcVf+R/G1KFd94GeCpFyfkbhfaR5k + Gj3iZAk8i4R6E0iF2uXyuZsCm/JIJ5sV/JFCHDn5/3bOXRfk8U4cye2fWNGqtcYLpuxK + 7nwjDuwGUeUJNEv2jtwQf0IeYXIsDsNgK6acPZEPoyJC3/pkN9wYK1qxRycIme8hPuFD + hpA0mG9JBA6xAH5r8jPI0T7eEr+pVZYo7HzlsZYXXA6ZjunoCLQyp6iPlGKzOQ3u2caY + Wq3GMTkmshUOseK1jmRbD4Q9BLgHxBStrWmEIHg1jJpFMH860ITzLcEmPw95YZnMlrmO + aSqA== +X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=1e100.net; s=20130820; + h=x-gm-message-state:from:to:cc:subject:date:message-id; + bh=KKbF6OuzCzq6Ilb0Y2evRpGsZkcb1bXzPbjw5b8+PVg=; + b=TBNv3H2madSFBHi62lIK8LAOHBX0cWHK2HrYPcxAOBYRz25EWtU+CxPSUA4Mn0AOHA + IuQyIolPXI+jtxLAY0C55P+ZJAAhyrxv7Dex1Ewpq4TaeJwZuC77Qr2LWHrRbnGe9Luh + yX5rI/64Z/oOPvK0w5V4veeY8/l1zU3KVVFB5H8EHIgDOM5gDTnZ16PdjNNEEF6bbYIk + 7lBKnnoTQolax1JINolizKyvzntaXDCK6UuFT/Yeqd1BjIc17fyeJUF9EcC6/n8SQZT7 + h2XAfyipSOarxJl98JHm1BWP1oQ0zwBEuGqJUDL8FxPNiayy9sM/KmLXGKhOUPoFMVUD + qb+Q== +X-Gm-Message-State: + AOPr4FVCM2ERh9YaJp8Z935bLmQgpcow7sy1cdKTrwwzfukgTgcV3F1M+mIJAlkmqu6bpg== +X-Received: by 10.28.154.204 with SMTP id c195mr18973365wme.49.1460571000097; + Wed, 13 Apr 2016 11:10:00 -0700 (PDT) +Received: from localhost (mobile-access-bcee7f-102.dhcp.inet.fi. + [188.238.127.102]) + by smtp.gmail.com with ESMTPSA id k133sm16705590wmg.7.2016.04.13.11.09.58 + (version=TLSv1/SSLv3 cipher=OTHER); + Wed, 13 Apr 2016 11:09:59 -0700 (PDT) +From: Jani Nikula +To: notmuch@notmuchmail.org +Subject: [PATCH] bindings: drop build time message on missing ruby dependency +Date: Wed, 13 Apr 2016 21:08:45 +0300 +Message-Id: <1460570925-12101-1-git-send-email-jani@nikula.org> +X-Mailer: git-send-email 2.1.4 +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.20 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Wed, 13 Apr 2016 18:10:11 -0000 + +The usual make message on everything being up to date is: + + make: Nothing to be done for 'all'. + +However, since + +commit d038b9320949c79503fe4b76870aaabf279405ab +Author: David Bremner +Date: Mon Jun 1 09:08:59 2015 +0200 + + build: integrate building ruby bindings into notmuch build process + +if one doesn't have the ruby dependencies installed, the message has +been: + + Missing dependency, skipping ruby bindings + +Restore the usual behaviour by dropping the message. It's redundant +during build anyway, since the configure script already outputs: + + Checking for ruby development files... No (skipping ruby bindings) +--- + bindings/Makefile.local | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/bindings/Makefile.local b/bindings/Makefile.local +index 4ecf839d7c18..11d11d4bcbeb 100644 +--- a/bindings/Makefile.local ++++ b/bindings/Makefile.local +@@ -10,8 +10,6 @@ ifeq ($(HAVE_RUBY_DEV),1) + LIBNOTMUCH="../../lib/$(LINKER_NAME)" \ + ruby extconf.rb --vendor + $(MAKE) -C $(dir)/ruby +-else +- @echo Missing dependency, skipping ruby bindings + endif + + CLEAN += $(patsubst %,$(dir)/ruby/%, \ +-- +2.1.4 +