net-fs/smbnetfs: modernize to EAPI=7, fix docdir
authorSergei Trofimovich <slyfox@gentoo.org>
Thu, 10 Oct 2019 07:50:42 +0000 (08:50 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Thu, 10 Oct 2019 07:50:57 +0000 (08:50 +0100)
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
net-fs/smbnetfs/files/smbnetfs-0.6.1-docdir.patch [new file with mode: 0644]
net-fs/smbnetfs/smbnetfs-0.6.1-r1.ebuild

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 (file)
index 0000000..4eabb95
--- /dev/null
@@ -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 \
index 91ae91c3900fc41da081171c29c163c78503437b..a3eace2ad0c17023473bec47e3506a377807d467 100644 (file)
@@ -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="