www-apache/mod_musicindex: Revbump for dependency and EAPI change
authorBrian Evans <grknight@gentoo.org>
Thu, 7 Feb 2019 15:54:06 +0000 (10:54 -0500)
committerBrian Evans <grknight@gentoo.org>
Thu, 7 Feb 2019 15:54:06 +0000 (10:54 -0500)
Closes: https://bugs.gentoo.org/666076
Package-Manager: Portage-2.3.59, Repoman-2.3.12
Signed-off-by: Brian Evans <grknight@gentoo.org>
www-apache/mod_musicindex/mod_musicindex-1.4.1-r1.ebuild [moved from www-apache/mod_musicindex/mod_musicindex-1.4.1.ebuild with 87% similarity]

similarity index 87%
rename from www-apache/mod_musicindex/mod_musicindex-1.4.1.ebuild
rename to www-apache/mod_musicindex/mod_musicindex-1.4.1-r1.ebuild
index d87b3ed75c33aa692e2bc71b779e30e3d3fbb78f..a033588e36699ad70a0304a01f8c7f75f9e395f9 100644 (file)
@@ -1,7 +1,7 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
 
 inherit apache-module
 
@@ -22,16 +22,20 @@ DEPEND="mp3? ( media-libs/libmad media-libs/libid3tag )
        flac? ( media-libs/flac )
        vorbis? ( media-libs/libvorbis )
        archive? ( app-arch/libarchive )
-       mysql? ( virtual/mysql )"
+       mysql? ( dev-db/mysql-connector-c:0= )"
 RDEPEND="${DEPEND}
        sys-devel/libtool"
 
 APACHE2_MOD_CONF="50_${PN}"
 APACHE2_MOD_DEFINE="MUSICINDEX"
-DOCFILES="AUTHORS BUGS ChangeLog README UPGRADING"
+DOCS=( AUTHORS BUGS ChangeLog README UPGRADING )
 
 need_apache2
 
+pkg_setup() {
+       _init_apache2_late
+}
+
 src_configure() {
        econf \
                $(use_enable mp3) \
@@ -44,11 +48,11 @@ src_configure() {
 }
 
 src_compile() {
-       emake || die "emake failed"
+       default
 }
 
 src_install() {
-       emake DESTDIR="${D}" install || die "emake failed"
+       default
        apache-module_src_install
 
        # install W3C images