summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-03-10 13:35:33 +0000
committerSam James <sam@gentoo.org>2023-03-10 13:55:09 +0000
commit86a6af1f2563d02b3706bec6e8b64c40cc1a2898 (patch)
treed0b7947d8aac31b880a99cfcc56b302e8074ab96 /net-misc
parentsys-kernel/gentoo-sources: add 6.2.3 (diff)
downloadgentoo-86a6af1f2563d02b3706bec6e8b64c40cc1a2898.tar.gz
gentoo-86a6af1f2563d02b3706bec6e8b64c40cc1a2898.tar.bz2
gentoo-86a6af1f2563d02b3706bec6e8b64c40cc1a2898.zip
net-misc/sock: EAPI 8, fix configure w/ clang 16
Closes: https://bugs.gentoo.org/900256 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/sock/sock-1.1-r2.ebuild (renamed from net-misc/sock/sock-1.1-r1.ebuild)22
1 files changed, 16 insertions, 6 deletions
diff --git a/net-misc/sock/sock-1.1-r1.ebuild b/net-misc/sock/sock-1.1-r2.ebuild
index 6c8d0615f28e..dae97e0a2c19 100644
--- a/net-misc/sock/sock-1.1-r1.ebuild
+++ b/net-misc/sock/sock-1.1-r2.ebuild
@@ -1,17 +1,27 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
+
+inherit autotools
DESCRIPTION="A shell interface to network sockets"
-SRC_URI="ftp://atrey.karlin.mff.cuni.cz/pub/local/mj/net/${P}.tar.gz"
HOMEPAGE="http://atrey.karlin.mff.cuni.cz/~mj/linux.shtml"
-KEYWORDS="amd64 sparc x86"
+SRC_URI="ftp://atrey.karlin.mff.cuni.cz/pub/local/mj/net/${P}.tar.gz"
+
LICENSE="GPL-2"
SLOT="0"
+KEYWORDS="amd64 sparc x86"
+
+src_prepare() {
+ default
+
+ # Clang 16, bug #900256
+ eautoreconf
+}
src_install() {
- dobin "${PN}"
- doman "${PN}.1"
+ dobin ${PN}
+ doman ${PN}.1
einstalldocs
}