commit:     d77c5ed632745489fad2b22afc713472ac9bb2a1
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Fri May 20 18:33:33 2022 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Fri May 20 18:33:57 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d77c5ed6

app-emacs/org-mode: Fix version in installed package

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 .../org-mode/{org-mode-9.5.3.ebuild => org-mode-9.5.3-r1.ebuild}     | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/app-emacs/org-mode/org-mode-9.5.3.ebuild 
b/app-emacs/org-mode/org-mode-9.5.3-r1.ebuild
similarity index 93%
rename from app-emacs/org-mode/org-mode-9.5.3.ebuild
rename to app-emacs/org-mode/org-mode-9.5.3-r1.ebuild
index dafc16ab39bc..08cc7d1f5099 100644
--- a/app-emacs/org-mode/org-mode-9.5.3.ebuild
+++ b/app-emacs/org-mode/org-mode-9.5.3-r1.ebuild
@@ -23,12 +23,15 @@ BDEPEND="doc? ( virtual/texi2dvi )"
 SITEFILE="50${PN}-gentoo.el"
 
 src_compile() {
-       emake datadir="${EPREFIX}${SITEETC}/${PN}"
+       emake \
+               ORGVERSION=${PV} \
+               datadir="${EPREFIX}${SITEETC}/${PN}"
        use doc && emake pdf card
 }
 
 src_install() {
        emake \
+               ORGVERSION=${PV} \
                DESTDIR="${D}" \
                ETCDIRS="styles csl $(use odt-schema && echo schema)" \
                lispdir="${EPREFIX}${SITELISP}/${PN}" \

Reply via email to