perl.port.mk has this,

MODPERL_pre-fake = mkdir -p ${WRKINST}${P5ARCH}/auto

aka "mkdir -p 
/pobj/somedir/fake-amd64libdata/perl5/site_perl/amd64-openbsd/auto"
which is obviously bogus. (I noticed the dir in nginx WRKDIR and it took a bit
of head-scratching to figure out where it came from).

It used to be

1.1          (espie    25-Aug-01):      ${SUDO} mkdir -p 
${WRKINST}`/usr/bin/perl -e 'use Config; print $$Config{installarchlib}, "\n";'`

then changed to

1.31         (afresh1  23-Nov-21): MODPERL_pre-fake = mkdir -p 
${WRKINST}${PERL_ARCH}/auto

...there's no PERL_ARCH var, so that was fixed to the current version

1.32         (afresh1  12-Dec-21): MODPERL_pre-fake = mkdir -p 
${WRKINST}${P5ARCH}/auto

Anyone have an opinion whether it can just be removed, or better to be
replaced with something like ${PREFIX}/${P5ARCH}/auto (though bearing in mind
that PREFIX might have been overridden..) ?

Reply via email to