commit: 9b6bfb6d8f05874301e1ca12a5bc41d71971f89d Author: Vladimir Pavljuchenkov (SpiderX) <spiderx <AT> spiderx <DOT> dp <DOT> ua> AuthorDate: Fri Jan 15 08:37:08 2021 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> CommitDate: Fri Jan 15 08:44:39 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b6bfb6d
net-p2p/automatic: wrt 740860 Closes: https://bugs.gentoo.org/740860 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Vladimir Pavljuchenkov <spiderx <AT> spiderx.dp.ua> Closes: https://github.com/gentoo/gentoo/pull/14385 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> net-p2p/automatic/automatic-0.8.3-r1.ebuild | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/net-p2p/automatic/automatic-0.8.3-r1.ebuild b/net-p2p/automatic/automatic-0.8.3-r1.ebuild index 37af3e484af..1edc2fdd4e8 100644 --- a/net-p2p/automatic/automatic-0.8.3-r1.ebuild +++ b/net-p2p/automatic/automatic-0.8.3-r1.ebuild @@ -12,13 +12,13 @@ SRC_URI="https://github.com/1100101/Automatic/archive/v${PV}.tar.gz -> ${P}.tar. LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" +IUSE="" RDEPEND="acct-user/automatic dev-libs/libxml2:2 dev-libs/libpcre:3 net-misc/curl" -DEPEND="${RDEPEND} - app-admin/logrotate" +DEPEND="${RDEPEND}" S="${WORKDIR}/${P^}" @@ -34,13 +34,14 @@ src_prepare() { mv configure.{in,ac} || die "rename failed" # Remove CFLAGS and CXXFLAGS defined by upstream - sed -i \ - -e 's/CFLAGS="-Wdeclaration-after-statement -O3 -funroll-loops"/CFLAGS+=""/' \ + sed -i -e 's/CFLAGS="-Wdeclaration-after-statement -O3 -funroll-loops"/CFLAGS+=""/' \ -e 's/CXXFLAGS="-O3 -funroll-loops"/CXXFLAGS+=""/' \ configure.ac || die "sed for CXXFLAGS and CFLAGS failed" # tests fail with network-sandbox - rm src/tests/http_test.c || die "rm failed" + sed -i -e '/check_PROGRAMS /s/http_test //' \ + -e '/check_PROGRAMS /s/prowl_test //' src/tests/Makefile.am \ + || die "sed failed for Makefile.am" eautoreconf }
