trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jpe...@apache.org
Subject trafficserver git commit: TS-4175: unset INSTALL_BASE when installing Perl
Date Wed, 02 Mar 2016 05:47:04 GMT
Repository: trafficserver
Updated Branches:
  refs/heads/master ed39fd447 -> a73169751


TS-4175: unset INSTALL_BASE when installing Perl

If you have CPAN set up, it will inject environment variables that
break the perl module installation, specifically
PERL_MM_OPT=INSTALL_BASE=/path/to/cpan.

According to http://perldoc.perl.org/ExtUtils/MakeMaker.html,
INSTALL_BASE should be preferred over PREFIX.


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/a7316975
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/a7316975
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/a7316975

Branch: refs/heads/master
Commit: a7316975194505add54a8467e595995a394fed26
Parents: ed39fd4
Author: James Peach <jpeach@apache.org>
Authored: Tue Mar 1 21:45:38 2016 -0800
Committer: James Peach <jpeach@apache.org>
Committed: Tue Mar 1 21:45:38 2016 -0800

----------------------------------------------------------------------
 lib/perl/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/a7316975/lib/perl/Makefile.am
----------------------------------------------------------------------
diff --git a/lib/perl/Makefile.am b/lib/perl/Makefile.am
index bfba2af..c3447fe 100644
--- a/lib/perl/Makefile.am
+++ b/lib/perl/Makefile.am
@@ -26,7 +26,7 @@ install-exec-local: Makefile-pl
 # copy them to the build directory if we are building out of tree.
 Makefile-pl: Makefile.PL
 	test -f "$(top_builddir)/$(subdir)/Makefile.PL" || cp -rf "$(srcdir)/." "$(top_builddir)/$(subdir)/"
-	$(PERL) Makefile.PL INSTALLDIRS=$(INSTALLDIRS) PREFIX=$(prefix)
+	$(PERL) Makefile.PL INSTALLDIRS=$(INSTALLDIRS) INSTALL_BASE=$(prefix) PREFIX=
 
 distclean-local:
 	-rm -rf Makefile-pl MYMETA.* blip


Mime
View raw message