From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7BB13158089 for ; Sun, 24 Sep 2023 22:08:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4C50F2BC031; Sun, 24 Sep 2023 22:08:04 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 304352BC031 for ; Sun, 24 Sep 2023 22:08:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 428DF335D50 for ; Sun, 24 Sep 2023 22:08:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E1D40125C for ; Sun, 24 Sep 2023 22:08:01 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1695593250.56d1a297fe8932e6d2fb2cab47b2f0a0b1a37c27.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/iw/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-wireless/iw/iw-5.19-r1.ebuild X-VCS-Directories: net-wireless/iw/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 56d1a297fe8932e6d2fb2cab47b2f0a0b1a37c27 X-VCS-Branch: master Date: Sun, 24 Sep 2023 22:08:01 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d1cf99f7-3603-42fb-884a-b1c5706b8c1e X-Archives-Hash: b8dd7fc360bb0bbdec504a53261f676e commit: 56d1a297fe8932e6d2fb2cab47b2f0a0b1a37c27 Author: Paul Zander gmail com> AuthorDate: Sat Sep 2 12:03:04 2023 +0000 Commit: Sam James gentoo org> CommitDate: Sun Sep 24 22:07:30 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56d1a297 net-wireless/iw: add rdepend on wireless-regdb iw can bring up a wireless device so it needs to depend on net-wireless/wireless-regdb. Fix the compile flags, so they are actually fully honored. Signed-off-by: Paul Zander gmail.com> Closes: https://github.com/gentoo/gentoo/pull/32562 Signed-off-by: Sam James gentoo.org> net-wireless/iw/iw-5.19-r1.ebuild | 40 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/net-wireless/iw/iw-5.19-r1.ebuild b/net-wireless/iw/iw-5.19-r1.ebuild new file mode 100644 index 000000000000..f1bbe2108630 --- /dev/null +++ b/net-wireless/iw/iw-5.19-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="nl80211 configuration utility for wireless devices using the mac80211 stack" +HOMEPAGE="https://wireless.wiki.kernel.org/en/users/Documentation/iw" +SRC_URI="https://mirrors.edge.kernel.org/pub/software/network/${PN}/${P}.tar.xz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" + +DEPEND="dev-libs/libnl:=" +RDEPEND=" + ${DEPEND} + net-wireless/wireless-regdb +" +BDEPEND="virtual/pkgconfig" + +src_prepare() { + default + tc-export CC LD PKG_CONFIG + + # do not compress man pages by default. + sed 's@\(iw\.8\)\.gz@\1@' -i Makefile || die +} + +src_compile() { + # Set flags prior so they are honored + CFLAGS="${CFLAGS:+${CFLAGS} }${CPPFLAGS}" + LDFLAGS="${CFLAGS:+${CFLAGS} }${LDFLAGS}" + emake V=1 +} + +src_install() { + emake V=1 DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install +}