Index | Thread | Search

From:
Andrew Hewus Fresh <andrew@afresh1.com>
Subject:
Re: perl.port.mk bogus dir created in fake: ${WRKINST}${P5ARCH}/auto
To:
ports <ports@openbsd.org>
Date:
Wed, 10 Sep 2025 09:09:29 -0700

Download raw body.

Thread
On Wed, Sep 10, 2025 at 04:49:14PM +0100, Stuart Henderson wrote:
> 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"

If this is what it is creating and ports have been building without
needing it to be "correct" for four years, I think it can be removed.


> 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..) ?
> 

-- 
andrew

Computer Science: solving today's problems tomorrow.