summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Berezin <tobez@FreeBSD.org>2001-10-02 19:00:07 +0000
committerAnton Berezin <tobez@FreeBSD.org>2001-10-02 19:00:07 +0000
commita1d4bc0c526d0b84dad04c93dbf1ff768b16c3d1 (patch)
treeba6f79a708db249a33211c3028299b0fb4894c84
parentUpdate to 0.43. (diff)
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
Notes
Notes: svn path=/head/; revision=48357
-rw-r--r--devel/p5-Test-Harness/Makefile7
1 files changed, 3 insertions, 4 deletions
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 <bsd.port.mk>