summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Pavljuchenkov (SpiderX) <spiderx@spiderx.dp.ua>2021-01-15 10:37:08 +0200
committerJoonas Niilola <juippis@gentoo.org>2021-01-15 10:44:39 +0200
commit9b6bfb6d8f05874301e1ca12a5bc41d71971f89d (patch)
treea8d354a536c2d51daf9c2b893f567050d3f81fdc /net-p2p/automatic
parentacct-user/automatic: new user for net-p2p/automatic, UID 338 (diff)
downloadgentoo-9b6bfb6d8f05874301e1ca12a5bc41d71971f89d.tar.gz
gentoo-9b6bfb6d8f05874301e1ca12a5bc41d71971f89d.tar.bz2
gentoo-9b6bfb6d8f05874301e1ca12a5bc41d71971f89d.zip
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@spiderx.dp.ua> Closes: https://github.com/gentoo/gentoo/pull/14385 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-p2p/automatic')
-rw-r--r--net-p2p/automatic/automatic-0.8.3-r1.ebuild11
1 files 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
}