forked from Mirrors/freeswitch
fix perldir to at least point to install the same place as the code looks for it. Note, on fhs type builds, where prefix is /usr, these files are going to go into /usr/perl, which probably isn't right, but thats where the code looks too, we should do something better for builds that are not in the prefix
This commit is contained in:
parent
046df6be67
commit
8cd69cc0f4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user