Diff kpathsea-6.3.2_p20200406 with a kpathsea-6.3.3_p20210325

/usr/portage/dev-libs/kpathsea/kpathsea-6.3.3_p20210325.ebuild 2021-04-02 10:39:00.000000000 +0300
5 5

  
6 6
inherit texlive-common libtool prefix tmpfiles
7 7

  
8
TEXMFD_VERSION="10"
8
TEXMFD_VERSION="11"
9 9

  
10 10
DESCRIPTION="Path searching library for TeX-related files"
11 11
HOMEPAGE="http://tug.org/texlive/"
......
14 14

  
15 15
LICENSE="GPL-2"
16 16
SLOT="0/${PV%_p*}"
17
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
17
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
18 18
IUSE="doc source static-libs"
19 19

  
20 20
S=${WORKDIR}/texlive-${PV#*_p}-source/texk/${PN}
21 21

  
22
TL_VERSION=2020
22
TL_VERSION=2021
23 23
EXTRA_TL_MODULES="kpathsea"
24 24
EXTRA_TL_DOC_MODULES="kpathsea.doc"
25 25

  
......
66 66
		cp -pR "${WORKDIR}"/tlpkg "${ED}/usr/share/" || die "failed to install tlpkg files"
67 67
	fi
68 68

  
69
	# The default configuration expects it to be world writable, bug #266680
70
	# People can still change it with texconfig though.
71
	dotmpfiles "${FILESDIR}"/kpathsea.conf
72

  
73 69
	# Take care of fmtutil.cnf and texmf.cnf
74 70
	dodir /etc/texmf/{fmtutil.d,texmf.d}
75 71

  
76 72
	# Remove default texmf.cnf to ship our own, greatly based on texlive dvd's
77 73
	# texmf.cnf
78 74
	# It will also be generated from /etc/texmf/texmf.d files by texmf-update
79
	rm -f "${ED}${TEXMF_PATH}/web2c/texmf.cnf"
75
	rm -f "${ED}${TEXMF_PATH}/web2c/texmf.cnf" || die
80 76

  
81 77
	insinto /etc/texmf/texmf.d
82 78
	doins "${WORKDIR}/texmf.d/"*.cnf
83 79

  
84 80
	# Remove fmtutil.cnf, it will be regenerated from /etc/texmf/fmtutil.d files
85 81
	# by texmf-update
86
	rm -f "${ED}${TEXMF_PATH}/web2c/fmtutil.cnf"
82
	rm -f "${ED}${TEXMF_PATH}/web2c/fmtutil.cnf" || die
87 83

  
88 84
	dosym ../../../../etc/texmf/web2c/fmtutil.cnf ${TEXMF_PATH}/web2c/fmtutil.cnf
89 85
	dosym ../../../../etc/texmf/web2c/texmf.cnf ${TEXMF_PATH}/web2c/texmf.cnf
......
94 90
	keepdir /var/lib/texmf
95 91

  
96 92
	dodoc ChangeLog NEWS PROJECTS README
93

  
94
	# The default configuration expects it to be world writable, bug #266680
95
	# People can still change it with texconfig though.
96
	dotmpfiles "${FILESDIR}"/kpathsea.conf
97 97
}
98 98

  
99 99
pkg_postinst() {
100 100
	tmpfiles_process "${FILESDIR}"/kpathsea.conf
101

  
102 101
	etexmf-update
103 102
}
104 103

  
Thank you!