diff options
Diffstat (limited to 'sys-fs/inotify-tools/inotify-tools-3.22.6.0.ebuild')
-rw-r--r-- | sys-fs/inotify-tools/inotify-tools-3.22.6.0.ebuild | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/sys-fs/inotify-tools/inotify-tools-3.22.6.0.ebuild b/sys-fs/inotify-tools/inotify-tools-3.22.6.0.ebuild index 2d25f84ae71b..8a96f1e65ec8 100644 --- a/sys-fs/inotify-tools/inotify-tools-3.22.6.0.ebuild +++ b/sys-fs/inotify-tools/inotify-tools-3.22.6.0.ebuild @@ -5,9 +5,9 @@ EAPI=8 inherit autotools -DESCRIPTION="a set of command-line programs providing a simple interface to inotify" -HOMEPAGE="https://github.com/inotify-tools/inotify-tools" -SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +DESCRIPTION="Set of command-line programs providing a simple interface to inotify" +HOMEPAGE="https://github.com/inotify-tools/inotify-tools/" +SRC_URI="https://github.com/inotify-tools/inotify-tools/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2" SLOT="0" @@ -16,27 +16,29 @@ IUSE="doc" BDEPEND="doc? ( app-doc/doxygen )" +PATCHES=( + "${FILESDIR}"/${P}-musl.patch +) + src_prepare() { default - # Remove -Werror from CFLAGS (#745069) - find -name "Makefile.am" -print0 \ - | xargs --null sed 's@ -Werror@@' -i || die + sed -i 's/ -Werror//' {,libinotifytools/}src/Makefile.am || die #745069 eautoreconf } src_configure() { - # only docs installed are doxygen ones, so use /html - local myeconfargs=( - --disable-static - --docdir='$(datarootdir)'/doc/${PF}/html + local econfargs=( + --docdir="${EPREFIX}"/usr/share/doc/${PF}/html $(use_enable doc doxygen) ) - econf "${myeconfargs[@]}" + + econf "${econfargs[@]}" } src_install() { default + find "${ED}" -type f -name '*.la' -delete || die } |