summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2015-05-17 11:10:22 +0000
committerUlrich Müller <ulm@gentoo.org>2015-05-17 11:10:22 +0000
commit0e5674aebb0ce3de0f59abbd74a4b6212d87daea (patch)
tree06a8d76346f9f5555b1e9835b09887d2eb6fd231 /eclass/latex-package.eclass
parentLooks like it's not compatible with 2.2 (#549034) (diff)
downloadgentoo-2-0e5674aebb0ce3de0f59abbd74a4b6212d87daea.tar.gz
gentoo-2-0e5674aebb0ce3de0f59abbd74a4b6212d87daea.tar.bz2
gentoo-2-0e5674aebb0ce3de0f59abbd74a4b6212d87daea.zip
Prevent compression of symlink targets in docdir in EAPIs where this is possible, bug 549584.
Diffstat (limited to 'eclass/latex-package.eclass')
-rw-r--r--eclass/latex-package.eclass12
1 files changed, 9 insertions, 3 deletions
diff --git a/eclass/latex-package.eclass b/eclass/latex-package.eclass
index 36b4352ad567..6123631e59ff 100644
--- a/eclass/latex-package.eclass
+++ b/eclass/latex-package.eclass
@@ -1,6 +1,6 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/latex-package.eclass,v 1.40 2013/07/05 22:59:40 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/latex-package.eclass,v 1.41 2015/05/17 11:10:22 ulm Exp $
# @ECLASS: latex-package.eclass
# @MAINTAINER:
@@ -117,7 +117,13 @@ latex-package_src_doinstall() {
insinto /usr/share/doc/${PF}
doins $i || die "doins $i failed"
dosym /usr/share/doc/${PF}/$(basename ${i}) ${TEXMF}/doc/latex/${PN}/${i}
- #dodoc -u $i
+ case "${EAPI:-0}" in
+ 0|1|2|3) ;;
+ *)
+ # prevent compression of symlink target
+ docompress -x /usr/share/doc/${PF}/$(basename ${i})
+ ;;
+ esac
done
;;
"tex" | "dtx")