commit:     70aef573170ab433906019d925a70e06b4b224c8
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Mar  9 22:58:54 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Mar  9 22:58:54 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70aef573

media-sound/lltag: fix VariableScope

Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-sound/lltag/lltag-0.14.6.ebuild | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/media-sound/lltag/lltag-0.14.6.ebuild 
b/media-sound/lltag/lltag-0.14.6.ebuild
index c4d43b6f07c3..f9c3cdedb575 100644
--- a/media-sound/lltag/lltag-0.14.6.ebuild
+++ b/media-sound/lltag/lltag-0.14.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -27,23 +27,20 @@ DEPEND="${RDEPEND}"
 
 S="${WORKDIR}/${PN}-${P}"
 
-pkg_setup() {
+src_compile() {
        mylltagopts=(
-               DESTDIR="${D}"
                PREFIX=/usr
                SYSCONFDIR=/etc
                MANDIR=/usr/share/man
                PERL_INSTALLDIRS=vendor
                DOCDIR=/usr/share/doc/${PF}
        )
-}
 
-src_compile() {
        emake "${mylltagopts[@]}"
 }
 
 src_install() {
-       emake "${mylltagopts[@]}" install{,-doc,-man}
+       emake DESTDIR="${D}" "${mylltagopts[@]}" install{,-doc,-man}
        dodoc Changes
        perl_delete_localpod
        # Move config to recommended location

Reply via email to