From debbugs-submit-bounces@debbugs.gnu.org Wed May 11 17:26:05 2022 Received: (at submit) by debbugs.gnu.org; 11 May 2022 21:26:05 +0000 Received: from localhost ([127.0.0.1]:38669 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1notqP-00054A-Hp for submit@debbugs.gnu.org; Wed, 11 May 2022 17:26:05 -0400 Received: from lists.gnu.org ([209.51.188.17]:57668) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1notqN-000541-Ux for submit@debbugs.gnu.org; Wed, 11 May 2022 17:26:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42742) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1notqM-0001Io-1S for guix-patches@gnu.org; Wed, 11 May 2022 17:26:03 -0400 Received: from baptiste.telenet-ops.be ([2a02:1800:120:4::f00:13]:49286) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1notqJ-0001j2-AB for guix-patches@gnu.org; Wed, 11 May 2022 17:26:00 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by baptiste.telenet-ops.be with bizsmtp id VZRv270064UW6Th01ZRvaZ; Wed, 11 May 2022 23:25:55 +0200 Message-ID: Subject: [PATCH] gnu: recutils: Make it cross-compilable. From: Maxime Devos To: guix-patches@gnu.org Date: Wed, 11 May 2022 23:25:50 +0200 Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-bsApsV+TdnsIzkYbF4OJ" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1652304355; bh=4QQZq0oPI/aiOhKIvBx4c7TJYt5UclRayOIRYBmDzhk=; h=Subject:From:To:Date; b=htbJjx3s7zftGj1gbuWY/SPB9Em8+SQcO8t6sMgvyG10RctLXWlhwzA2BmYxG3oIj dNp9k/g2HZvNtXlNYFUA40iw9ITf3NhS4xf4F7lc5ALjx+CN9qg5B5ecCm6wQvuT1L AmHx9pmIKiAbOH219Jdtmut+3xDemumZ1dYvmPQTo+8cxhips/2IlhBaW5/Enzvu1b bke8WBMwd/AShCMXx0E4DYPjsrrvvwcCjNq2yXBYL0KZxLASSm2zxKS07xswuJ/Bk1 lz2QBz1f9VdHHIixqQYBDgkYPtWeRNeQoDa61Xjr9cHTP+3J5heVaRjsAQGkb+/GuB 5uNeY2Lr7uzmg== Received-SPF: pass client-ip=2a02:1800:120:4::f00:13; envelope-from=maximedevos@telenet.be; helo=baptiste.telenet-ops.be X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, 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-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --=-bsApsV+TdnsIzkYbF4OJ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable TBD: * [ ] Commit message * [ ] Testing beyond =E2=80=98it builds=E2=80=99 * [ ] Proper usage of "git format-patch" * [ ] 'guix style' * [ ] "guix refresh --list-dependents" and such Just sending it now such that it doesn't disappear, intend to make it a proper patch submission later ... diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 4472677ab3..ffadb1312b 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -1569,18 +1569,17 @@ (define-public recutils =20 "14xiln4immfsw8isnvwvq0h23f6z0wilpgsc4qzabnrzb5lsx3nz")))) (build-system gnu-build-system) =20 - (arguments '(#:configure-flags - (list (string-append "--with-bash-headers=3D" - (assoc-ref %build-inputs "bash:include") - "/include/bash")))) - + (arguments + (list #:configure-flags + #~(list (string-append "--with-bash-headers=3D" + (search-input-directory %build- inputs "/include/bash"))))) (native-inputs `(("bc" ,bc) - ("bash:include" ,bash "include") ("check" ,check-0.14) ("pkg-config" ,pkg-config))) =20 ;; TODO: Add more optional inputs. - (inputs `(("curl" ,curl) + (inputs `(("bash:include" ,bash "include") + ("curl" ,curl) ("libgcrypt" ,libgcrypt) ("libuuid" ,util-linux "lib"))) (synopsis "Manipulate plain text files as databases") --=-bsApsV+TdnsIzkYbF4OJ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYnwp3hccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7iP2AQC2ukXXMQVhbUJXFAhqeBu+2qsZ miHbK2RMPGHaI+8IIAD/aMNABY4nbV4Od3yZxzVwKn38NBln5G7x1VtjNnIhuwo= =rgKO -----END PGP SIGNATURE----- --=-bsApsV+TdnsIzkYbF4OJ--