From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id wGV5OD1SGmSq0AAASxT56A (envelope-from ) for ; Wed, 22 Mar 2023 01:56:30 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id UIxFOD1SGmRWUgEAauVa8A (envelope-from ) for ; Wed, 22 Mar 2023 01:56:29 +0100 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 900163C78A for ; Wed, 22 Mar 2023 01:56:28 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=foxmail.com header.s=s201512 header.b="G/gCbUh2"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=foxmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679446589; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=mCO9+SC3IULPdTFZZ/MzdT98cAUwdwmluk1KrxMCWcs=; b=p+l+18X++mRT8Rnlm1wImZe5TEdtJPYx2xQpBMv6mHT7X7awfvk4eyxjeS5UHHBCTtDz0s E3sfOa0r2d7SkST/EDEthGqWf27tVga2pmlkiB62bO5EHzRGRoP4q3YYO1M54AGGZ+Ywz4 I3+PajgleOF9hhB1dZ3lbTJ1PQvJQ2USe1gY4SNKytnYqE/M9+m2KZkT5xrZBIAaq0Usqx sHF+PnYc63c0bmLJAKCdXQc6OeGKttNn1b68EA6pA2ijoIi3UmgBvG33jRhFfELJXvtTOw 71nhKfiXxXkxP02OKWeiFKt6NzapTuKwKu5hc30+XNVNLCT5vXtScYRbiQMquw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=foxmail.com header.s=s201512 header.b="G/gCbUh2"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=foxmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679446589; a=rsa-sha256; cv=none; b=mrx9toBiyeQmg4o1/DBewvr+/osMKSIFS86R5UO3+Y/TwgmJGSIdCC6wndPNHNY75NBMPB Q53z9YA6hz1e8deG8lH1PIQ8Ex7MH018Uwpd52EQ1YN7KxDKIZCC5FBA8b+E5FRaPHX8C9 gdUosYAlG1CMLyrAnZJuiS7OKwHvGZTKKy1ho1Rk7OikdQlN202Owo7w8XDBZ60jBlUyxw KGKaq6ucBtwsptfSogbP5VInpvQ5WWBDhCmKo+uAX3koKrly5d4WhCnMFPYGblOEpp9LA/ cJdb8KkhJrNlktcwxEOjVC26BdswmtjsHoIaR3HOXJwkNfrIdTKzjNQEdsUG3Q== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pemm3-0003Vp-3p; Tue, 21 Mar 2023 20:56:19 -0400 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 1pemln-0003T2-6n for guix-patches@gnu.org; Tue, 21 Mar 2023 20:56:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pemlm-0000iI-8h for guix-patches@gnu.org; Tue, 21 Mar 2023 20:56:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pemlm-0002Ug-55 for guix-patches@gnu.org; Tue, 21 Mar 2023 20:56:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62324] gnu: Add emu8051 Resent-From: c4droid Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 22 Mar 2023 00:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62324 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Bruno Victal Cc: 62324@debbugs.gnu.org Received: via spool by 62324-submit@debbugs.gnu.org id=B62324.16794465539572 (code B ref 62324); Wed, 22 Mar 2023 00:56:02 +0000 Received: (at 62324) by debbugs.gnu.org; 22 Mar 2023 00:55:53 +0000 Received: from localhost ([127.0.0.1]:32959 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pemld-0002UJ-18 for submit@debbugs.gnu.org; Tue, 21 Mar 2023 20:55:53 -0400 Received: from out203-205-221-153.mail.qq.com ([203.205.221.153]:44019) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pemlU-0002Tu-8W for 62324@debbugs.gnu.org; Tue, 21 Mar 2023 20:55:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1679446528; bh=mCO9+SC3IULPdTFZZ/MzdT98cAUwdwmluk1KrxMCWcs=; h=References:From:To:Cc:Subject:Date:In-reply-to; b=G/gCbUh2rCHWqOUg9G8UGAaKst8C/Uc6CKjspT/Cy3jqPg+XO1ePok9/WyceizIef MLfth6vPKWRy6riTnE4jx243c4QpFRb5J8WT4KtG21dGZJWf6H0YIfHeJVEE8wjCvj y7UkDvF9HThpXR0QRkeTBNLTR3qhyd+xzbYIVCj0= Received: from Workstation ([113.200.58.195]) by newxmesmtplogicsvrsza10-0.qq.com (NewEsmtp) with SMTP id DDB9C83F; Wed, 22 Mar 2023 08:55:27 +0800 X-QQ-mid: xmsmtpt1679446527tr5fm23jb Message-ID: X-QQ-XMAILINFO: NT+xk6rB66UcYNbsdWNCktMjvLHPO3n6Ud/QPYGs/Ao9gFkwDAYOsjbsZBmkBw f857zGlXqyoTQh52IOEuqOPOYForJbh7xpX1XvvQnGCvgpMuwxhpuSuH5gUN3jgSNz5YiCghf9ar vLSItxWcvxt4mCx+6Q9ZTgrLDADDuWhQKAXCiq+Oj5w1l+qw1vhiAxtxclteWpET9FAgTkkGbRLF GL44RCvppdUNeuOjq8/iQjp4VQ8/GnDRvVzYAeyFWQL48k46nRaJ2dcjUT98fDXcxet1o5kMUYRZ Ldbe9P4/LAZCpJG5NqUFzfUKsAtMvurtxfRmtspv+4dO/Z3ezr8lA+PRKDbmIy4H/1KSlytWGq0/ eCmNd/hldqzfaexteek5KpGRMl4UQEGXFPcHN6gYAKeQzdJqVFRdImGLtXOtAXCms6g4ZisRa/jK ImoLE8lLu0zJ7M4Cge/Xr1qhCOez8J8KSylLWxv49L7nNCf2Hin0dEcyglh5fk2UX7QXAVeM5OpX PFOaDnhCOunpOylJ03N31n836Odq5o9b1qW7OTDaobBMkUI3zK4H0k9z51xkUK0d6nGeBpJ0+r7j qrHGNIzHYhDLQE0pGAziaZtllfYap2DKkS9z9e9ubMSTdAd/Hh7h7qu+xqfTI3aCB3VXLgE3z+Zt KkN2INggRAgpS3POur2xTHktL8rC1/RJ6zcFxxhkoZ6VD1FDpQoHb1SAGJ5B3NjBFVYTeCyjFNx9 oRWK7CfnfLar1N5sIuZwaRDS3933Oob0JaImWrv7KN0sBHcvYnogSdAbgNAomNZ0fpeRxcX/A499 8PzfbCAoMuirXgUg9pl8QOu0PsaZe/jZ/4GJeFyl4Ky15hM5mvZRWt5GdvQZtm7wusejtYkLW6rW qPYiM1qHsjas/uKdtfisF76JVSPz2eY2GXknKRf4xXdOIsv8RmbB3QZOvnr2nhIJDsNE8MXUPa References: <6ad8a739-992c-e578-ea8f-76e762f70c42@makinata.eu> User-agent: mu4e 1.8.13; emacs 28.2 From: c4droid Date: Wed, 22 Mar 2023 08:53:41 +0800 In-reply-to: <6ad8a739-992c-e578-ea8f-76e762f70c42@makinata.eu> Message-ID: <87ttydbo5c.fsf@foxmail.com> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: X-Migadu-Queue-Id: 900163C78A X-Spam-Score: 1.45 X-Migadu-Spam-Score: 1.45 X-Migadu-Scanner: scn0.migadu.com List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-TUID: wISAMhUhjJhT Hi, Bruno Bruno Victal writes: > Hi, > > On 2023-03-21 07:20, c4droid wrote: >> >> + (arguments >> + `(#:tests? #f ;No test suite >> + #:make-flags (list (string-append "CC=" >> + ,(cc-for-target))) >> + #:phases (modify-phases %standard-phases >> + (delete 'configure) ;No ./configure script >> + (add-before 'build 'patch-ncurses >> + ;; Replace LDFLAGS -lcurses to -lncurses >> + (lambda* _ >> + (substitute* "Makefile" >> + (("-lcurses") >> + "-lncurses")))) > > How about turning this 'patch-ncurses phase into a patch snippet instead? i.e. > I'll change it later, thanks for the hints. > (source > (origin > (method ...) > ... > (modules '((guix build utils))) > (snippet > #~(begin > ;; Replace LDFLAGS -lcurses to -lncurses > (substitute* "Makefile" > (("-lcurses") "-lncurses")))))) > > [...] > >> + (replace 'install >> + ;; No installation procedure >> + (lambda _ >> + (install-file "emu" >> + (string-append (assoc-ref %outputs "out") >> + "/bin"))))))) > > Use G-Expressions here, i.e. > > (arguments > (list > #:tests? #f ;No test suite > #:make-flags #~(list ...) > #:phases > #~(modify-phases ... > ... > (replace 'install > (lambda _ > (install-file "emu" (string-append #$output "/bin"))))))) > > > Cheers, > Bruno