commit:     5292df0507ced0b6e453ca668bc586e95af7cfa7
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 10 07:50:42 2019 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Thu Oct 10 07:50:57 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5292df05

net-fs/smbnetfs: modernize to EAPI=7, fix docdir

Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 net-fs/smbnetfs/files/smbnetfs-0.6.1-docdir.patch |  7 +++++++
 net-fs/smbnetfs/smbnetfs-0.6.1-r1.ebuild          | 11 +++++++----
 2 files changed, 14 insertions(+), 4 deletions(-)

diff --git a/net-fs/smbnetfs/files/smbnetfs-0.6.1-docdir.patch 
b/net-fs/smbnetfs/files/smbnetfs-0.6.1-docdir.patch
new file mode 100644
index 00000000000..4eabb95b2b6
--- /dev/null
+++ b/net-fs/smbnetfs/files/smbnetfs-0.6.1-docdir.patch
@@ -0,0 +1,7 @@
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -1,4 +1,3 @@
+-docdir = $(datadir)/doc/$(distdir)
+ doc_DATA = \
+       conf/smbnetfs.conf \
+       doc/ENGLISH.FAQ \

diff --git a/net-fs/smbnetfs/smbnetfs-0.6.1-r1.ebuild 
b/net-fs/smbnetfs/smbnetfs-0.6.1-r1.ebuild
index 91ae91c3900..a3eace2ad0c 100644
--- a/net-fs/smbnetfs/smbnetfs-0.6.1-r1.ebuild
+++ b/net-fs/smbnetfs/smbnetfs-0.6.1-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2019 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
-inherit eutils readme.gentoo-r1
+EAPI=7
+inherit readme.gentoo-r1
 
 DESCRIPTION="FUSE filesystem for SMB shares"
 HOMEPAGE="https://sourceforge.net/projects/smbnetfs";
@@ -21,7 +21,10 @@ RDEPEND=">=sys-fs/fuse-2.3:0=
 DEPEND="${RDEPEND}
        virtual/pkgconfig"
 
-PATCHES=("${FILESDIR}"/${P}-use-proper-xattr.patch)
+PATCHES=(
+       "${FILESDIR}"/${P}-use-proper-xattr.patch
+       "${FILESDIR}"/${P}-docdir.patch
+)
 
 DISABLE_AUTOFORMATTING=yes
 DOC_CONTENTS="

Reply via email to