From 61f10f985e19dfe20a4d9552902625edd5b6eabb Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 21 Jun 2021 17:32:00 +0100 Subject: gentoo resync : 21.06.2021 --- net-im/ysm/ysm-2.9.9.1-r2.ebuild | 46 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 net-im/ysm/ysm-2.9.9.1-r2.ebuild (limited to 'net-im/ysm/ysm-2.9.9.1-r2.ebuild') diff --git a/net-im/ysm/ysm-2.9.9.1-r2.ebuild b/net-im/ysm/ysm-2.9.9.1-r2.ebuild new file mode 100644 index 000000000000..c36878d19813 --- /dev/null +++ b/net-im/ysm/ysm-2.9.9.1-r2.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools flag-o-matic + +MY_PV=$(ver_rs 1- _) + +DESCRIPTION="A console ICQ client supporting versions 7/8" +HOMEPAGE="http://ysmv7.sourceforge.net/" +SRC_URI="mirror://sourceforge/ysmv7/${PN}v7_${MY_PV}.tar.bz2" +S="${WORKDIR}"/${PN}v7_${MY_PV} + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" +RESTRICT="mirror" + +# Introduced by fix-configure.patch +BDEPEND="sys-devel/autoconf-archive" + +PATCHES=( + "${FILESDIR}"/${PN}-2.9.9.1-dont-strip-binary.patch + "${FILESDIR}"/${PN}-2.9.9.1-fix-bashism.patch + "${FILESDIR}"/${PN}-2.9.9.1-fix-configure.patch +) + +src_prepare() { + default + + mv configure.{in,ac} || die + + # Made obsolete by rewrite patch (fix-configure.patch) + rm aclocal.m4 || die + + config_rpath_update . + eautoreconf +} + +src_configure() { + # fix bug #570408 by restoring pre-GCC 5 inline semantics + append-cflags -std=gnu89 + + econf +} -- cgit v1.2.3