]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix perldir to at least point to install the same place as the code looks for it...
authorMichael Jerris <mike@jerris.com>
Wed, 19 Mar 2014 21:24:21 +0000 (17:24 -0400)
committerMichael Jerris <mike@jerris.com>
Wed, 19 Mar 2014 21:24:26 +0000 (17:24 -0400)
src/mod/languages/mod_perl/Makefile.am

index 07fbc80decda3d40d1aa630a205540be03efcf89..5f42ea5444dd424a4657e164d07104f060a2d277 100644 (file)
@@ -4,7 +4,7 @@ PERL        = perl
 PERL_LIBDIR =-L`perl -MConfig -e 'print $$Config{archlib}'`/CORE
 PERL_LIBS   =`perl -MConfig -e 'print $$Config{libs}'`
 
-perldir=$(DESTDIR)$(prefix)/perl
+perldir=$(prefix)/perl
 mod_LTLIBRARIES = mod_perl.la
 perl_LTLIBRARIES = freeswitch.la
 mod_perl_la_SOURCES  = mod_perl.c freeswitch_perl.cpp mod_perl_wrap.cpp perlxsi.c
@@ -36,6 +36,6 @@ orig: mod_perl_wrap.cpp
        @touch .perlok
 
 install-data-local:
-       mkdir -p $(DESTDIR)$(prefix)/perl
-       $(INSTALL) freeswitch.pm $(DESTDIR)$(prefix)/perl
-       if [ ! -f $(DESTDIR)$(prefix)/perl/freeswitch.pm ] ; then $(INSTALL) freeswitch.pm $(DESTDIR)$(prefix)/perl ; fi
+       mkdir -p $(DESTDIR)$(perldir)
+       $(INSTALL) freeswitch.pm $(DESTDIR)$(perldir)
+       if [ ! -f $(DESTDIR)$(perldir)/freeswitch.pm ] ; then $(INSTALL) freeswitch.pm $(DESTDIR)$(perldir) ; fi