aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2001-10-03 03:00:07 +0800
committertobez <tobez@FreeBSD.org>2001-10-03 03:00:07 +0800
commitde79aea90b4a6895d5261b643b120a486ed6581f (patch)
tree0b460b94902e6200095fbc895a9238c35b0e040c /devel
parent45a9279f3ac8ede3c895fe5d82ed3eff41e39383 (diff)
downloadfreebsd-ports-gnome-de79aea90b4a6895d5261b643b120a486ed6581f.tar.gz
freebsd-ports-gnome-de79aea90b4a6895d5261b643b120a486ed6581f.tar.zst
freebsd-ports-gnome-de79aea90b4a6895d5261b643b120a486ed6581f.zip
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
Diffstat (limited to 'devel')
-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>