diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-11-15 06:52:13 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-11-15 06:52:13 +0000 |
commit | 9f7759b3b1be5a3bc7794010a8ebf9334f017d2f (patch) | |
tree | fa4e093c6694ec0590cbbd9a7b86c1edddc43d72 /net-misc/bsdwhois/bsdwhois-1.43.2.1-r1.ebuild | |
parent | ac35def7deb4a1eecfad26f0eb5907170b2ee5d7 (diff) |
gentoo auto-resync : 15:11:2022 - 06:52:13
Diffstat (limited to 'net-misc/bsdwhois/bsdwhois-1.43.2.1-r1.ebuild')
-rw-r--r-- | net-misc/bsdwhois/bsdwhois-1.43.2.1-r1.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/net-misc/bsdwhois/bsdwhois-1.43.2.1-r1.ebuild b/net-misc/bsdwhois/bsdwhois-1.43.2.1-r1.ebuild new file mode 100644 index 000000000000..2361c19c70eb --- /dev/null +++ b/net-misc/bsdwhois/bsdwhois-1.43.2.1-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit autotools flag-o-matic + +DESCRIPTION="FreeBSD Whois Client" +HOMEPAGE="https://www.freebsd.org/" +SRC_URI="http://utenti.gufi.org/~drizzt/codes/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" + +PATCHES=( + "${FILESDIR}/${PN}-1.43.2.1-musl-cdefs.patch" + "${FILESDIR}/${PN}-1.43.2.1-clang16-build.patch" +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + # bug #875029 + append-cppflags -D_GNU_SOURCE + default +} + +src_install() { + default + + mv "${ED}"/usr/share/man/man1/{whois,bsdwhois}.1 || die + mv "${ED}"/usr/bin/{whois,bsdwhois} || die +} |