summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-nntp/nzbget/nzbget-17.0.ebuild')
-rw-r--r--net-nntp/nzbget/nzbget-17.0.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/net-nntp/nzbget/nzbget-17.0.ebuild b/net-nntp/nzbget/nzbget-17.0.ebuild
index 4c54fbb56d1d..6b5702939d75 100644
--- a/net-nntp/nzbget/nzbget-17.0.ebuild
+++ b/net-nntp/nzbget/nzbget-17.0.ebuild
@@ -4,7 +4,7 @@
EAPI=6
-inherit eutils flag-o-matic user
+inherit autotools eutils flag-o-matic user
MY_PV=${PV/_pre/-r}
MY_P=${PN}-${PV/_pre/-testing-r}
@@ -29,6 +29,10 @@ DEPEND="${RDEPEND}
virtual/pkgconfig"
DOCS=( ChangeLog README nzbget.conf )
+PATCHES=(
+ "${FILESDIR}"/${P}_parcheck-tests-fix.patch
+)
+
S=${WORKDIR}/${PN}-${PV/_pre*/-testing}
pkg_pretend() {
@@ -42,6 +46,8 @@ pkg_pretend() {
src_prepare() {
default
+ eautoreconf
+
sed -i 's:^ScriptDir=.*:ScriptDir=/usr/share/nzbget/ppscripts:' nzbget.conf || die
sed \