bindings/Makefile: perl: Use INSTALL_BASE rather than PREFIX.
authorSebastian Harl <sh@teamix.net>
Wed, 13 Jun 2012 12:33:05 +0000 (14:33 +0200)
committerFlorian Forster <octo@collectd.org>
Thu, 13 Sep 2012 08:58:16 +0000 (10:58 +0200)
Some versions of Perl / ExtUtils::MakeMaker will else abort with an error
message explaining INSTALL_BASE and PREFIX may not be used both. However, I
don't know where the other definition comes from.

Signed-off-by: Florian Forster <octo@collectd.org>
bindings/Makefile.am

index f39e9bb..69312fd 100644 (file)
@@ -23,7 +23,7 @@ perl: perl/Makefile
 
 perl/Makefile: .perl-directory-stamp perl/Makefile.PL \
        $(top_builddir)/config.status
 
 perl/Makefile: .perl-directory-stamp perl/Makefile.PL \
        $(top_builddir)/config.status
-       cd perl && @PERL@ Makefile.PL PREFIX=$(prefix) @PERL_BINDINGS_OPTIONS@
+       cd perl && @PERL@ Makefile.PL INSTALL_BASE=$(prefix) @PERL_BINDINGS_OPTIONS@
 
 .perl-directory-stamp:
        if test ! -d perl; then \
 
 .perl-directory-stamp:
        if test ! -d perl; then \