commit:     2a9bac18bdecb1eb0a065bdd747a8467ca9cfcba
Author:     Mike Pagano <mpagano <AT> gentoo <DOT> org>
AuthorDate: Mon May 29 20:16:53 2023 +0000
Commit:     Mike Pagano <mpagano <AT> gentoo <DOT> org>
CommitDate: Mon May 29 20:16:53 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a9bac18

www-servers/nginx-unit: Support building perl module

Closes: https://bugs.gentoo.org/907204

Signed-off-by: Mike Pagano <mpagano <AT> gentoo.org>

 www-servers/nginx-unit/nginx-unit-1.30.0.ebuild | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/www-servers/nginx-unit/nginx-unit-1.30.0.ebuild 
b/www-servers/nginx-unit/nginx-unit-1.30.0.ebuild
index 8d3e40e6aa94..576f5179c69f 100644
--- a/www-servers/nginx-unit/nginx-unit-1.30.0.ebuild
+++ b/www-servers/nginx-unit/nginx-unit-1.30.0.ebuild
@@ -18,7 +18,7 @@ SLOT="0"
 KEYWORDS="~amd64"
 MY_USE="perl python ruby"
 MY_USE_PHP="php7-4 php8-0 php8-1 php8-2"
-IUSE="${MY_USE} ${MY_USE_PHP} ssl"
+IUSE="${MY_USE} ${MY_USE_PHP} perl ssl"
 REQUIRED_USE="|| ( ${IUSE} )
        python? ( ${PYTHON_REQUIRED_USE} )"
 
@@ -88,6 +88,12 @@ src_configure() {
 src_install() {
        default
 
+       if use perl ; then
+               echo "1"
+               echo "D is ${D}"
+               emake DESTDIR="${D}/" perl-install
+       fi
+
        rm -rf "${ED}"/usr/var
 
        diropts -m 0770

Reply via email to