mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
Use another method of persuading MakeMaker to not install things into
/usr/libdata/perl. This method has an advantage of not changing MakeMaker's idea about the location of perllocal.pod file it appends the installation info to, and therefore, indirectly fixes plist. Approved by: maintainer
This commit is contained in:
parent
47ce435db1
commit
a1d4bc0c52
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=48357
@ -16,11 +16,10 @@ MAINTAINER= shell@shellhung.org
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
|
||||
MODULE_PREFIX= ${PREFIX}/lib/perl5/site_perl/${PERL_VER}
|
||||
CONFIGURE_ARGS+= INSTALLPRIVLIB=${MODULE_PREFIX} \
|
||||
INSTALLARCHLIB=${MODULE_PREFIX}/${PERL_ARCH}
|
||||
|
||||
MAN3= Test::Harness.3
|
||||
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
|
||||
|
||||
post-patch:
|
||||
${PERL} -pi -e 'm.INSTALLDIRS.&&s,.,,sg' ${WRKSRC}/Makefile.PL
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user