1. Updated to git HEAD 7a46fd67cd2833f07d583288b8d2dc084733fc91 (v1.9.0)
[feed/telephony.git] / net / freeswitch / patches / musl / src-mod-endpoints-mod_verto-Makefile_am.patch
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
5
6 if HAVE_PERL
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)
16
17 -#install-data-local: perlmod-install
18 +install-data-local: perlmod-install
19
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)
26 endif
27
28 mcast/esl_wrap.cpp: