From: Mike Kelly Date: Wed, 30 May 2012 07:01:56 +0000 (+2000) Subject: [PATCH v2 1/9] configure: Add support for FreeBSD. X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=91b3ff8995e2b947ffd3411545b16e1353c27ef7;p=notmuch-archives.git [PATCH v2 1/9] configure: Add support for FreeBSD. --- diff --git a/f1/45669e89054d08a108519d86d37796833e149d b/f1/45669e89054d08a108519d86d37796833e149d new file mode 100644 index 000000000..24db5b894 --- /dev/null +++ b/f1/45669e89054d08a108519d86d37796833e149d @@ -0,0 +1,100 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 6EAFC431FC4 + for ; Wed, 30 May 2012 00:02:55 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.7 +X-Spam-Level: +X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id D5cv68cjOjtp for ; + Wed, 30 May 2012 00:02:54 -0700 (PDT) +Received: from mail-vb0-f53.google.com (mail-vb0-f53.google.com + [209.85.212.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 8A192431FB6 + for ; Wed, 30 May 2012 00:02:54 -0700 (PDT) +Received: by vbbfc26 with SMTP id fc26so4786690vbb.26 + for ; Wed, 30 May 2012 00:02:53 -0700 (PDT) +X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=google.com; s=20120113; + h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references + :x-gm-message-state; + bh=/7uqjQzKaQt8LwyMUGKmgyCm0nF/X42iAhOUk0x2r/A=; + b=R5JJr1mATrCwrAWFP9HB4XaB40P4CP/U6TgD3i5Nd4/rkfdRpkxSsVk/VoKQe67a4w + PXTgk34mwXNjjt+zRTt8iFWDzTRVbM59BxaK5hyG8I17lRXjqgMoqAzVYgOBIiCGUZ/h + xoZA/56g/eMG7lELezw38JqhCUACuLGJdLBFwAbFOFp6iXz7fAAxS6aqY+jiW4rb2Z2a + z6OhRjXm0+TiO/KrU1i2ZXVBuMmlEtBqp0fbVoWmQ4vHkJMS/3yrNIjGvSGT+aP1yliZ + NCML6nLtMIS2XkAoQFB7TFRgqt+psQOPA/qsUrFYXq63aN6RIWfTKmVya/09fzcB+zU4 + d0Ag== +Received: by 10.52.73.42 with SMTP id i10mr13341708vdv.116.1338361373749; + Wed, 30 May 2012 00:02:53 -0700 (PDT) +Received: from nas.home.pioto.org (pool-71-182-155-97.pitbpa.fios.verizon.net. + [71.182.155.97]) + by mx.google.com with ESMTPS id i4sm28326771vdk.8.2012.05.30.00.02.52 + (version=TLSv1/SSLv3 cipher=OTHER); + Wed, 30 May 2012 00:02:53 -0700 (PDT) +Received: by nas.home.pioto.org (Postfix, from userid 1001) + id 87F34287DE; Wed, 30 May 2012 03:02:51 -0400 (EDT) +From: Mike Kelly +To: notmuch@notmuchmail.org +Subject: [PATCH v2 1/9] configure: Add support for FreeBSD. +Date: Wed, 30 May 2012 03:01:56 -0400 +Message-Id: <1338361324-57289-2-git-send-email-pioto@pioto.org> +X-Mailer: git-send-email 1.7.10.2 +In-Reply-To: <1338361324-57289-1-git-send-email-pioto@pioto.org> +References: <1338361324-57289-1-git-send-email-pioto@pioto.org> +X-Gm-Message-State: + ALoCoQkGSP/kUFxMMsAY7+Ue/rFnVjHLbylLwGahu99xsBx7msqZU7izWyMrHXXB+cMvHw6Glmi+ +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +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, 30 May 2012 07:02:55 -0000 + +This makes FreeBSD a recognized platform. Follow up patches make it +work properly. +--- + configure | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + +diff --git a/configure b/configure +index 5602be2..344f413 100755 +--- a/configure ++++ b/configure +@@ -360,6 +360,10 @@ elif [ $uname = "SunOS" ] ; then + printf "Solaris.\n" + platform=SOLARIS + linker_resolves_library_dependencies=0 ++elif [ $uname = "FreeBSD" ] ; then ++ printf "FreeBSD.\n" ++ platform=FREEBSD ++ linker_resolves_library_dependencies=0 + elif [ $uname = "Linux" ] || [ $uname = "GNU" ] ; then + printf "$uname\n" + platform="$uname" +@@ -649,7 +653,7 @@ HAVE_GETLINE = ${have_getline} + # build its own version) + HAVE_STRCASESTR = ${have_strcasestr} + +-# Supported platforms (so far) are: LINUX, MACOSX, SOLARIS ++# Supported platforms (so far) are: LINUX, MACOSX, SOLARIS, FREEBSD + PLATFORM = ${platform} + + # Whether the linker will automatically resolve the dependency of one +-- +1.7.10.2 +