From a1d4bc0c526d0b84dad04c93dbf1ff768b16c3d1 Mon Sep 17 00:00:00 2001 From: Anton Berezin Date: Tue, 2 Oct 2001 19:00:07 +0000 Subject: 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 --- devel/p5-Test-Harness/Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'devel/p5-Test-Harness/Makefile') diff --git a/devel/p5-Test-Harness/Makefile b/devel/p5-Test-Harness/Makefile index 9756ba1d8e9d..2d8fa73aaa56 100644 --- a/devel/p5-Test-Harness/Makefile +++ b/devel/p5-Test-Harness/Makefile @@ -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 -- cgit v1.2.3