Diff nginx-unit-1.29.1 with a nginx-unit-1.31.0

/usr/portage/www-servers/nginx-unit/nginx-unit-1.31.0.ebuild 2023-10-09 14:52:35.900368512 +0300
15 15

  
16 16
LICENSE="Apache-2.0"
17 17
SLOT="0"
18
KEYWORDS="amd64"
18
KEYWORDS="~amd64"
19 19
MY_USE="perl python ruby"
20
MY_USE_PHP="php8-1 "
21
IUSE="${MY_USE} ${MY_USE_PHP} ssl"
20
MY_USE_PHP="php8-1 php8-2"
21
IUSE="${MY_USE} ${MY_USE_PHP} perl ssl"
22 22
REQUIRED_USE="|| ( ${IUSE} )
23 23
	python? ( ${PYTHON_REQUIRED_USE} )"
24 24

  
25 25
DEPEND="perl? ( dev-lang/perl:= )
26 26
	php8-1? ( dev-lang/php:8.1[embed] )
27
	php8-2? ( dev-lang/php:8.2[embed] )
27 28
	python? ( ${PYTHON_DEPS} )
28 29
	ruby? (
29 30
		dev-lang/ruby:=
......
49 50
	local opt=(
50 51
		--control=unix:/run/${PN}.sock
51 52
		--log=/var/log/${PN}
52
		--modules=$(get_libdir)/${PN}
53
		--modules=/usr/$(get_libdir)/${PN}
53 54
		--pid=/run/${PN}.pid
54 55
		--prefix=/usr
55 56
		--state=/var/lib/${PN}
......
85 86
src_install() {
86 87
	default
87 88

  
89
	if use perl ; then
90
		echo "1"
91
		echo "D is ${D}"
92
		emake DESTDIR="${D}/" perl-install
93
	fi
94

  
95
	rm -rf "${ED}"/usr/var
96

  
88 97
	diropts -m 0770
89 98
	keepdir /var/lib/${PN}
90
	newinitd "${FILESDIR}/${PN}.initd-r1" ${PN}
99
	newinitd "${FILESDIR}/${PN}.initd-r2" ${PN}
91 100
	newconfd "${FILESDIR}"/nginx-unit.confd nginx-unit
92 101
	systemd_newunit "${FILESDIR}"/${PN}.service ${PN}.service
93 102
}
Thank you!