sci-mathematics/maxima: fix prefix compilation, bug 548260
authorGuilherme Amadio <amadio@gentoo.org>
Wed, 26 Aug 2015 12:30:40 +0000 (14:30 +0200)
committerGuilherme Amadio <amadio@gentoo.org>
Wed, 26 Aug 2015 12:30:40 +0000 (14:30 +0200)
Signed-off-by: Guilherme Amadio <amadio@gentoo.org>
Package-Manager: portage-2.2.20.1

sci-mathematics/maxima/maxima-5.34.1.ebuild
sci-mathematics/maxima/maxima-5.36.1.ebuild

index d683128e5d62f08d9680010a7b8b5b754cba7c3d..b679a8acebf00f203aaa1c3f3399d13d65653a97 100644 (file)
@@ -144,12 +144,12 @@ src_configure() {
                done
        fi
 
-       econf ${CONFS} $(use_with tk wish) --with-lispdir="${SITELISP}"/${PN}
+       econf ${CONFS} $(use_with tk wish) --with-lispdir="${EPREFIX}/${SITELISP}"/${PN}
 }
 
 src_install() {
        docompress -x /usr/share/info
-       emake DESTDIR="${D}" emacsdir="${SITELISP}/${PN}" install
+       emake DESTDIR="${D}" emacsdir="${EPREFIX}/${SITELISP}/${PN}" install
 
        use tk && make_desktop_entry xmaxima xmaxima \
                /usr/share/${PN}/${PV}/xmaxima/maxima-new.png \
index fc3eb937a24506986f40d2ceea522e46746837ae..79aa856f0b7c30e60e559fe93013858feb54d649 100644 (file)
@@ -144,12 +144,12 @@ src_configure() {
                done
        fi
 
-       econf ${CONFS} $(use_with tk wish) --with-lispdir="${SITELISP}"/${PN}
+       econf ${CONFS} $(use_with tk wish) --with-lispdir="${EPREFIX}/${SITELISP}"/${PN}
 }
 
 src_install() {
        docompress -x /usr/share/info
-       emake DESTDIR="${D}" emacsdir="${SITELISP}/${PN}" install
+       emake DESTDIR="${D}" emacsdir="${EPREFIX}/${SITELISP}/${PN}" install
 
        use tk && make_desktop_entry xmaxima xmaxima \
                /usr/share/${PN}/${PV}/xmaxima/maxima-new.png \