From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 7E04D6DE10BA for ; Sat, 15 Jun 2019 10:51:49 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -2.698 X-Spam-Level: X-Spam-Status: No, score=-2.698 tagged_above=-999 required=5 tests=[AWL=-0.197, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] 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 Yz3B9Clbn7lV for ; Sat, 15 Jun 2019 10:51:48 -0700 (PDT) Received: from ra.horus-it.com (ra.horus-it.com [94.130.34.199]) by arlo.cworth.org (Postfix) with ESMTPS id 485166DE0F7C for ; Sat, 15 Jun 2019 10:51:47 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by ra.horus-it.com (Postfix) with ESMTP id 7B14548C1CD1 for ; Sat, 15 Jun 2019 19:51:42 +0200 (CEST) X-Virus-Scanned: at horus-it.com From: Ralph Seichter DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monksofcool.net; s=k1; t=1560621097; bh=2PTT77hi0Te1bUGbHZoV3XnN+PeH8/YYKlWf1+Vl1vw=; h=From:To:Subject:In-Reply-To:References:Date:Message-ID: Content-Type; b=MsxbpdO412MBHS+75rbXEpWnFIMDspTJAXYbi9yiMAR45TCCYEk+eEG1mKCJ1Sesh pRomjjXg37bgPUO9oFCXQEbrpzY6DzsBVGUXAF9ylEimrUHS1/eId5ljHXzH78EDRA TndP0MVaDpSKsoTsYlPbqaJ+dUjqTUx3fh6RnNfd4uPtJO2ux2JX/jMytz0ibVr/Gd pAQp3F77E4Pta5Izk241Xw6Ix+H/e6BoTe4QIGQPa3F4T1Kes0cLi0HL9vdk6XJbx2 tIl0r395+CTjNzpLN0ffk9n/U/3O18BWYqDjbuN+482aBvpgGbae+FKvl/IsnLHacF 2/jI6GEP1o2mQ== To: notmuch@notmuchmail.org Subject: Re: [PATCH] configure: fix mktemp call for macOS In-Reply-To: References: <5d03ff8e.1c69fb81.c82a3.d08e.GMR@mx.google.com> Mail-Followup-To: notmuch@notmuchmail.org Date: Sat, 15 Jun 2019 19:51:37 +0200 Message-ID: <87imt6hh3q.fsf@ra.horus-it.com> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.29 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: Sat, 15 Jun 2019 17:51:49 -0000 * Tomi Ollila: > First, it would be better if > > TEMP_GPG=$(mktemp -d "${TMPDIR:-/tmp}/notmuch.XXXXXX") > > worked, then the behaviour on Linux would not change. I'm trying to figure out if I can override $TMPDIR during the MacPorts configure phase. According to the documentation, modifying environment variables should work, but I am not quite there yet. Corollary: I suggest we go for the method shown above for the time being. I am not a fan of hardcoding paths either. -Ralph