summaryrefslogtreecommitdiff
path: root/eclass
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
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')
-rw-r--r--eclass/ChangeLog6
-rw-r--r--eclass/latex-package.eclass12
2 files changed, 14 insertions, 4 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index 78cb400e69c2..c7d3eba48afb 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for eclass directory
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1616 2015/05/15 16:13:42 kensington Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1617 2015/05/17 11:10:22 ulm Exp $
+
+ 17 May 2015; Ulrich Müller <ulm@gentoo.org> latex-package.eclass:
+ Prevent compression of symlink targets in docdir in EAPIs where this is
+ possible, bug 549584.
15 May 2015; Michael Palimaka <kensington@gentoo.org> kde4-base.eclass:
Sync with KDE overlay - update SRC_URI.
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")