[PATCH] bindings: drop build time message on missing ruby dependency
authorJani Nikula <jani@nikula.org>
Wed, 13 Apr 2016 18:08:45 +0000 (21:08 +0300)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 23:21:37 +0000 (16:21 -0700)
00/81e01d7242fef28e151571d35d90dd82672766 [new file with mode: 0644]

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