From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id FcNZASUurV6JTgAA0tVLHw (envelope-from ) for ; Sat, 02 May 2020 08:24:05 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 8KFMDS8urV4wWwAAbx9fmQ (envelope-from ) for ; Sat, 02 May 2020 08:24:15 +0000 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:470:142::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 0CFD1942649 for ; Sat, 2 May 2020 08:24:13 +0000 (UTC) Received: from localhost ([::1]:59004 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUnRU-0002Dg-OP for larch@yhetil.org; Sat, 02 May 2020 04:24:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39336) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jUnRI-00024W-3W for guix-patches@gnu.org; Sat, 02 May 2020 04:24:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jUnQO-0008Lj-1i for guix-patches@gnu.org; Sat, 02 May 2020 04:23:59 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39623) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jUnQN-0008Le-MJ for guix-patches@gnu.org; Sat, 02 May 2020 04:23:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jUnQM-0001Ii-Hk for guix-patches@gnu.org; Sat, 02 May 2020 04:23:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#40677] [PATCH V3 04/15] gnu: Add libnatpmp. Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 02 May 2020 08:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40677 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Jan Wielkiewicz Cc: 40677@debbugs.gnu.org Received: via spool by 40677-submit@debbugs.gnu.org id=B40677.15884077764966 (code B ref 40677); Sat, 02 May 2020 08:23:02 +0000 Received: (at 40677) by debbugs.gnu.org; 2 May 2020 08:22:56 +0000 Received: from localhost ([127.0.0.1]:51168 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUnQG-0001I2-J0 for submit@debbugs.gnu.org; Sat, 02 May 2020 04:22:56 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:46423) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUnQF-0001Hd-7N for 40677@debbugs.gnu.org; Sat, 02 May 2020 04:22:55 -0400 Received: by mail-wr1-f66.google.com with SMTP id f13so14516305wrm.13 for <40677@debbugs.gnu.org>; Sat, 02 May 2020 01:22:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=bQ+vvppz2PwWXfbULnqASIb2DWcfLjoqaEHroBDScbM=; b=B3d931cHd6DdQ5jyQwiKZjUp1p+JUnCISIviy2gzwDgDINfH6mQ0hYEEeNigHr3amg xdxZv8y0+PjNKNJ2dM0kzVHeNBNHewRynbnvX4QDBp1Vt5W7QA+5HZ2l5VvpZVWfhqSW C1tB3Me6YiGdVPxUOcBJgo9Ha1ARfOp+ZEyQgZQTxjGFt1iwk0SbVIHZoyBsQkmYpqR+ WnAUOE0P3G7GiOzg+xay0cBQWAdoMuaZK8kmm3t5WZ3iC4YIq/jLrel4K3M/4LJcPuYl TuAcFAsAFiJCD7Gn5yZYwwOfhLdHUf0ymEY3I3oR6t2lYf3xwjNnKdm4DtMX8W6Vl+Qa gVog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=bQ+vvppz2PwWXfbULnqASIb2DWcfLjoqaEHroBDScbM=; b=B6G+DRfU0xA5ESuoPRvPUYRpzL9ovw7tJ9kXcVjmYGrPCToAPrsy96p2SLIFWnzEZp DatnUW6FaRfYQh6aB7F4nb16uD/8PN+Fke1po7OXA71EUkLQxuXRaHXDipZ42OL5XT3v fdteuOe13v8SVxz4H8tXlRcRc8PVMjENH1hT1dxySDvq6Ip6ZoCSk9rPUu5VPr5ExK7Z BZroyBScdYva8PqWwpQ4rPSCpeTsug15G5TFKZbdw8bjbLDMJ6KB/FdbdewlS9tkDipq aWMBCxlevun81Z/DdOM7R8B/9n6h13+rU07mFg/k6YBWc4kBOhCXTD9u7HUpFp99ydaa NCdg== X-Gm-Message-State: AGi0PubynfaO6D1asJ4F48tDm8Bo/jBC6nKjcT3VmNdoZd6yYA7/pSYd FpOEJ/gqYZHzznxuCzXw5N2sEu3l X-Google-Smtp-Source: APiQypJLVF9h/yrCG2rSLSORgXFNUHCzkIdQw8E0WJc9Vd/WInNFvBpfSoHfjL4EsVjE+K/OD/kS9w== X-Received: by 2002:adf:f5ce:: with SMTP id k14mr8945123wrp.39.1588407769200; Sat, 02 May 2020 01:22:49 -0700 (PDT) Received: from meru ([2a01:cb18:832e:5f00:5142:5b8b:1d3f:ecc5]) by smtp.gmail.com with ESMTPSA id r17sm8086071wrn.43.2020.05.02.01.22.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 May 2020 01:22:48 -0700 (PDT) From: Mathieu Othacehe References: <20200502011450.2676-1-tona_kosmicznego_smiecia@interia.pl> <20200502011450.2676-5-tona_kosmicznego_smiecia@interia.pl> Date: Sat, 02 May 2020 10:22:48 +0200 In-Reply-To: <20200502011450.2676-5-tona_kosmicznego_smiecia@interia.pl> (Jan Wielkiewicz's message of "Sat, 2 May 2020 03:14:39 +0200") Message-ID: <87tv0y3fvr.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 X-Spam-Score: 0.09 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=B3d931cH; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 2001:470:142::17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Scan-Result: default: False [0.09 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.49484525365926]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:142::/48:c]; R_DKIM_REJECT(1.00)[gmail.com:s=20161025]; DWL_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; FREEMAIL_FROM(0.00)[gmail.com]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.15), country: US(-0.00), ip: 2001:470:142::17(-0.49)]; DKIM_TRACE(0.00)[gmail.com:-]; RCPT_COUNT_TWO(0.00)[2]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; MAILLIST(-0.20)[mailman]; FREEMAIL_TO(0.00)[interia.pl]; RCVD_IN_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:22989, ipnet:2001:470:142::/48, country:US]; TAGGED_FROM(0.00)[larch=yhetil.org]; FROM_NEQ_ENVFROM(0.00)[mothacehe@gmail.com,guix-patches-bounces@gnu.org]; ARC_NA(0.00)[]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[40677@debbugs.gnu.org]; HAS_LIST_UNSUB(-0.01)[]; RCVD_COUNT_SEVEN(0.00)[10]; FORGED_SENDER_MAILLIST(0.00)[]; DMARC_POLICY_SOFTFAIL(0.10)[gmail.com : SPF not aligned (relaxed),none] X-TUID: rpge3G8o4PdV Hello Jan, Thanks for this v3! I applied this one with the following edits: --8<---------------cut here---------------start------------->8--- diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index 603d8b8e3a..431b0fafd4 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -439,8 +439,6 @@ files contain direct mappings of the abstractions provi= ded by the =C3=98MQ C API.") (base32 "1c1n8n7mp0amsd6vkz32n8zj3vnsckv308bb7na0dg0r8969rap1")))) (build-system gnu-build-system) - (native-inputs - `(("pkg-config" ,pkg-config))) (arguments `(#:phases (modify-phases %standard-phases @@ -448,16 +446,13 @@ files contain direct mappings of the abstractions pro= vided by the =C3=98MQ C API.") (delete 'check)) ; no tests #:make-flags (let* ((target ,(%current-target-system)) - (gcc (if target (string-append target "-gcc") "gcc")) - (pkg-config (if target - (string-append target "-pkg-config") - "pkg-config"))) + (gcc (if target + (string-append target "-gcc") + "gcc"))) (list (string-append "CC=3D" gcc) - (string-append "PKG_CONFIG=3D" - (assoc-ref %build-inputs "pkg-config") - "/bin/" pkg-config) - (string-append "PREFIX=3D" (assoc-ref %outputs "out")))))) + (string-append "INSTALLPREFIX=3D" (assoc-ref %outputs "out")) + (string-append "LDFLAGS=3D-Wl,-rpath=3D" %output "/lib"))))) (home-page "http://miniupnp.free.fr/libnatpmp.html") (synopsis "C library implementing NAT-PMP") (description --8<---------------cut here---------------end--------------->8--- Mathieu