diff options
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/automatic/automatic-0.8.3-r1.ebuild | 11 |
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 37af3e484afd..1edc2fdd4e89 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 } |