aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/p5-File-Spec/Makefile4
-rw-r--r--devel/p5-PathTools/Makefile4
2 files changed, 8 insertions, 0 deletions
diff --git a/devel/p5-File-Spec/Makefile b/devel/p5-File-Spec/Makefile
index 1c828d9aad7f..fd933a3c637b 100644
--- a/devel/p5-File-Spec/Makefile
+++ b/devel/p5-File-Spec/Makefile
@@ -15,6 +15,10 @@ PKGNAMEPREFIX= p5-
MAINTAINER= dburr@FreeBSD.ORG
PERL_CONFIGURE= yes
+MODULE_PREFIX= ${PREFIX}/lib/perl5/site_perl/${PERL_VER}
+CONFIGURE_ARGS+=\
+ INSTALLPRIVLIB=${MODULE_PREFIX} \
+ INSTALLARCHLIB=${MODULE_PREFIX}/${PERL_ARCH}
MAN3= File::Spec.3 \
File::Spec::Functions.3 \
diff --git a/devel/p5-PathTools/Makefile b/devel/p5-PathTools/Makefile
index 1c828d9aad7f..fd933a3c637b 100644
--- a/devel/p5-PathTools/Makefile
+++ b/devel/p5-PathTools/Makefile
@@ -15,6 +15,10 @@ PKGNAMEPREFIX= p5-
MAINTAINER= dburr@FreeBSD.ORG
PERL_CONFIGURE= yes
+MODULE_PREFIX= ${PREFIX}/lib/perl5/site_perl/${PERL_VER}
+CONFIGURE_ARGS+=\
+ INSTALLPRIVLIB=${MODULE_PREFIX} \
+ INSTALLARCHLIB=${MODULE_PREFIX}/${PERL_ARCH}
MAN3= File::Spec.3 \
File::Spec::Functions.3 \