From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id EMJmA/sBvGFrWAEAgWs5BA (envelope-from ) for ; Fri, 17 Dec 2021 04:20:27 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id QCWXOvoBvGESIQAAbx9fmQ (envelope-from ) for ; Fri, 17 Dec 2021 03:20:26 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [144.217.243.247]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id BD68F1C66A for ; Fri, 17 Dec 2021 04:20:26 +0100 (CET) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 24B47297DD; Thu, 16 Dec 2021 22:20:22 -0500 (EST) Received: from smtprelay04.ispgateway.de (smtprelay04.ispgateway.de [80.67.18.16]) by mail.notmuchmail.org (Postfix) with ESMTPS id 01424297D3 for ; Thu, 16 Dec 2021 21:31:02 -0500 (EST) Received: from [67.198.113.253] (helo=untitled-mac-wifi.internal.macports.net) by smtprelay04.ispgateway.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1my1jB-0003Lq-8Z for notmuch@notmuchmail.org; Fri, 17 Dec 2021 02:08:05 +0100 From: Ryan Schmidt Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\)) Subject: Fix order of -I and -L flags Message-Id: <7851CAB5-4556-4931-A0A2-37003E56C927@ryandesign.com> Date: Thu, 16 Dec 2021 19:08:33 -0600 To: notmuch@notmuchmail.org X-Mailer: Apple Mail (2.3608.120.23.2.7) X-Df-Sender: MzY4ODE4 X-MailFrom: notmuch@ryandesign.com X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0 Message-ID-Hash: CCZSK4Z2X6JK2C65RB44LVJK2HAIO7GN X-Message-ID-Hash: CCZSK4Z2X6JK2C65RB44LVJK2HAIO7GN X-Mailman-Approved-At: Thu, 16 Dec 2021 22:20:19 -0500 X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN X-Migadu-Country: FR ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1639711226; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post; bh=rCEiao+LkrJsQy6FyU00ZKRW+XFHYuXmcUbz97pclQU=; b=c8Y26dltttsZhAZ0iP9nX9L5SEgkHSD16uVeod34f7AHZCSE9PQSZ+UN9QP+XNLAW/dYx/ sWVhxC8CulluvVsELjl8mryZfgRr1JCFEunvFAWEgChlo+n8mgy+W8j79d7/BBSQGveQlm abFcS7V8SQpFWGtT8ZR7BEvhhOFjnsqItKYgU8G1AlpGpARsRHGrd/9t9wnpSKYfPlmz/9 cmeHEt2t1L4HTxNYA1g+yPjHc0Mh7AQKiwCsaWzwea1kDpMosTBNCnrpQDOjTUN9PLZh03 aw6/MGL3Xp90T2ximdfwELaUQTiIvKisJLJQJeQhnq9ArYiclMZHMrmrXfN9mA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639711226; a=rsa-sha256; cv=none; b=tbFETN+KTZ6On+assY1JsabvoUvgmpxfZtp2oALkn+V4jCsRGQSqkIeJf1M20eNUQZzlRl 5ToJz4aF2ve9LPCJkC+eT8ko0X7Lo6l3b8s1YC9gBZngSjqgB52qIOFy7QRLR09tLwBYNe eje0vYPReMz4eN2Pe4Eudwnjgq6vf88LARx7JZtOmjtFOp8BLakY0wDDHBmjK8v5vBhfWR BuRaneEfCcmmdQKmb82wp/evundhuMFZALj/bvrkcj4B8ER6aWrqP76jLB5ELC+tbB4263 bTrh1+I+DvDUBHXgYhMlhBCVl40gYEEf2Di/dXbDzi75GpIw1yac1SPv10OgLw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -2.97 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: BD68F1C66A X-Spam-Score: -2.97 X-Migadu-Scanner: scn0.migadu.com X-TUID: h3B+Y5Zx1jgy The notmuch build system puts -I and -L flags in the wrong order. Specifically, -I flags the user might specify in the CPPFLAGS environment variable appear before the -I flags for the project's own directories, resulting in build failure if a previous version of notmuch (whose headers differ sufficiently from the new version) was already installed. https://trac.macports.org/ticket/63274 Similarly, -L flags the user might specify in the LDFLAGS environment variable appear before the -L flags for the project's own directories, resulting in build failure if a previous version of notmuch (whose libraries differ sufficiently from the new version) was already installed. https://trac.macports.org/ticket/63665