1 --- a/src/mod/endpoints/mod_verto/Makefile.am
2 +++ b/src/mod/endpoints/mod_verto/Makefile.am
3 @@ -9,19 +9,19 @@ mod_verto_la_LIBADD = $(switch_builddi
4 mod_verto_la_LDFLAGS = -avoid-version -module -no-undefined -shared
7 -#perldir = $(PERL_SITEDIR)
8 -noinst_LTLIBRARIES = MCAST.la
9 +perldir = /usr/lib/perl5/@PERL_VERSION@/CORE
10 +perl_LTLIBRARIES = MCAST.la
11 MCAST_la_SOURCES = mcast/mcast_wrap.cpp mcast/perlxsi.c mcast/mcast.c mcast/mcast_cpp.cpp
12 MCAST_la_CFLAGS = $(CC_CFLAGS) $(CFLAGS) $(SWITCH_AM_CFLAGS) $(PERL_CFLAGS)
13 MCAST_la_CXXFLAGS = $(SWITCH_AM_CXXFLAGS) $(CXXFLAGS) -w $(PERL_INC)
14 MCAST_la_CPPFLAGS = -I$(switch_srcdir)/src/mod/endpoints/mod_verto/mcast
15 MCAST_la_LDFLAGS = -avoid-version -module -no-undefined -shared $(PERL_LDFLAGS)
17 -#install-data-local: perlmod-install
18 +install-data-local: perlmod-install
20 -#perlmod-install: install-perlLTLIBRARIES
21 -# install -d -m 755 $(DESTDIR)$(PERL_SITEDIR)
22 -# install -m 755 mcast/MCAST.pm $(DESTDIR)$(PERL_SITEDIR)
23 +perlmod-install: install-perlLTLIBRARIES
24 + install -d -m 755 $(DESTDIR)$(perldir)
25 + install -m 755 mcast/MCAST.pm $(DESTDIR)$(perldir)