summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-03-09 00:51:38 +0000
committerSam James <sam@gentoo.org>2023-03-09 00:53:04 +0000
commit5f9dbc76c18f5291deed43b1f459f975006d46c1 (patch)
tree1aaccc2aebdbda2fc82899609499ab83699d35d8 /net-misc/pen
parentnet-misc/pen: add github upstream metadata (diff)
downloadgentoo-5f9dbc76c18f5291deed43b1f459f975006d46c1.tar.gz
gentoo-5f9dbc76c18f5291deed43b1f459f975006d46c1.tar.bz2
gentoo-5f9dbc76c18f5291deed43b1f459f975006d46c1.zip
net-misc/pen: EAPI 8, fix configure w/ clang 16
Closes: https://bugs.gentoo.org/900304 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-misc/pen')
-rw-r--r--net-misc/pen/pen-0.34.1-r1.ebuild (renamed from net-misc/pen/pen-0.34.1.ebuild)15
1 files changed, 12 insertions, 3 deletions
diff --git a/net-misc/pen/pen-0.34.1.ebuild b/net-misc/pen/pen-0.34.1-r1.ebuild
index fe17b110abdb..8c9b34137f16 100644
--- a/net-misc/pen/pen-0.34.1.ebuild
+++ b/net-misc/pen/pen-0.34.1-r1.ebuild
@@ -1,7 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
+
+inherit autotools
DESCRIPTION="TCP Load Balancing Port Forwarder"
HOMEPAGE="http://siag.nu/pen/"
@@ -14,10 +16,17 @@ IUSE="geoip ssl"
RDEPEND="
geoip? ( dev-libs/geoip )
- ssl? ( dev-libs/openssl:0= )
+ ssl? ( dev-libs/openssl:= )
"
DEPEND="${RDEPEND}"
+src_prepare() {
+ default
+
+ # Clang 16, bug #900304
+ eautoreconf
+}
+
src_configure() {
econf --with-docdir=/usr/share/doc/${PF} \
$(use_with geoip) \