From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id QNrvDlh+22W21wAA62LTzQ:P1 (envelope-from ) for ; Sun, 25 Feb 2024 18:52:24 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id QNrvDlh+22W21wAA62LTzQ (envelope-from ) for ; Sun, 25 Feb 2024 18:52:24 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b=YjqB00PY; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1708883544; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=QIylLrvFLehE4WthGtvXG9/us2FAlPL5KjFqOLUuWGw=; b=jkr74X/LzBJJyja9Nr0u7lORPmwwLuvZ4cB0Z5r7crhRN2hV1XEILsGuS0ou3uqhzuFRrz Zw16GPg8UuZAF3BAJvmFCtPiQGci1m1spR4VZAKX8qPN5kiKw8F1TueqcXt/RGdVFzGV+3 8q8ZrbNPlt7PM4BNujqnKdDw3uhu27Aa/xhSVNOp19nhUQf5UvLAh4zmyGdAKSkCOLp2MD Ua+Vq6qUftGmPF94t4qc2F+JPpJElSWR2sM3opoeTRQ/bQi0U4xMeUlq8nhTR5iRQKJvOW Q3+t4/Kc4b9zEJCqb68wlb+AEMcVZYs+Lwq8Cqr6LqQeJ1c856YiUw4wy225IA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b=YjqB00PY; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1708883544; a=rsa-sha256; cv=none; b=V5AvymqZ2b17Epaggw4GGTCtnQj5+VUm9Jxqd/5JbJGl/eJCwJA89HgWRvkV4MSLkSabEy H1QWZQkvq73/Sn4V9R1HkeyrsJMjZZdoa4vRCNnbdCti6X77kQodu0Hjl3tFejEkD9Xksy VLHyxq3m4hqEsHvtzdLGCFca+81jK8eSeOpzoCpipNVzNgyGdz9IAhi80px9qeiE4NO5wE ohllMT7eyhUobKVWcLi5qioIUazx2CB+qgKnlBdbm+HCMDmDsE+m9HIEfcLJW7h/lBgtKK XKVdkB/3Sq4HVfZAgli79p25wmWL1xr/eM0Aiix19YNJ1Y1NvMhfFwtRz7kL0A== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 9F43411D2C for ; Sun, 25 Feb 2024 18:52:23 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1reIfS-0006qf-NY; Sun, 25 Feb 2024 12:52:02 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1reIfM-0006qO-N4 for help-guix@gnu.org; Sun, 25 Feb 2024 12:51:56 -0500 Received: from sail-ipv4.us-core.com ([208.82.101.137]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1reIfK-000146-NF for help-guix@gnu.org; Sun, 25 Feb 2024 12:51:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=iEuVkmiNAbuvGQu tJAzDCOqYKTfCZjbjONpE0Gii6lY=; h=date:references:in-reply-to:subject: to:from; d=lease-up.com; b=YjqB00PY7MoeSlix2BuJgedp9bBcP+zvMASqEWH5elf 5YrhSlpw+UEVqalpaMzbHsAK303A12rA94CqRpYkv84UcL8u61+wua9T5duNb9djKDbDaE xSK3zJ/qav/ASpfAFZuIZE3Xpe2R2QGnc3PCSp2BYFR8GSiimmnlAQ6qUc= Received: by sail-ipv4.us-core.com (OpenSMTPD) with ESMTPSA id 9c1f3c2a (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Sun, 25 Feb 2024 17:51:48 +0000 (UTC) To: Marc Coquand , help-guix@gnu.org Subject: Re: Changing the prefix for this libpg_query package In-Reply-To: References: Date: Sun, 25 Feb 2024 09:51:47 -0800 Message-ID: <87bk84zb2k.fsf@lease-up.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=208.82.101.137; envelope-from=felix.lechner@lease-up.com; helo=sail-ipv4.us-core.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Felix Lechner From: Felix Lechner via Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -6.77 X-Spam-Score: -6.77 X-Migadu-Queue-Id: 9F43411D2C X-TUID: 7inBjbfObTmS Hi Marc, On Tue, Feb 20 2024, Marc Coquand wrote: > I need to change the prefix to be the guix out directory To override the variable assigned in the Makefile [1] you are right to offer it as an argument to 'make'. [2] I'm not sure why that's not working. I would just replace it in situ: #:phases (modify-phases %standard-phases (add-after 'unpack 'fix-prefix (lambda _ (substitute* "Makefile" (("/usr/local") $output))))) Kind regards Felix [1] https://github.com/pganalyze/libpg_query/blob/1ec38940e5c6f09a4c1d17a46d839a881c4f2db7/Makefile#L311 [2] https://www.gnu.org/software/make/manual/make.html#Overriding