telephony/net/freeswitch/patches/src-mod-endpoints-mod_verto-Makefile_am.patch
Mazi Lo 24f45c9b31 FreeSWITCH:
1. Update to FS git 6eb59c711989774fb797d1c447e3d63aac84826b.
  2. Disable mod_perl due to recent changes in perl package.
  3. Disable mod_verto (required mod_perl).
  4. Remove numbering scheme from patches.

Signed-off-by: Mazi Lo <openwrt.mazilo@recursor.net>
2015-04-07 11:09:48 -04:00

28 lines
1.1 KiB
Diff

--- a/src/mod/endpoints/mod_verto/Makefile.am
+++ b/src/mod/endpoints/mod_verto/Makefile.am
@@ -9,19 +9,19 @@ mod_verto_la_LIBADD = $(switch_builddi
mod_verto_la_LDFLAGS = -avoid-version -module -no-undefined -shared
if HAVE_PERL
-#perldir = $(PERL_SITEDIR)
-noinst_LTLIBRARIES = MCAST.la
+perldir = "$(PERL_SITELIB)"
+perl_LTLIBRARIES = MCAST.la
MCAST_la_SOURCES = mcast/mcast_wrap.cpp mcast/perlxsi.c mcast/mcast.c mcast/mcast_cpp.cpp
MCAST_la_CFLAGS = $(CC_CFLAGS) $(CFLAGS) $(SWITCH_AM_CFLAGS) $(PERL_CFLAGS)
MCAST_la_CXXFLAGS = $(SWITCH_AM_CXXFLAGS) $(CXXFLAGS) -w $(PERL_INC)
MCAST_la_CPPFLAGS = -I$(switch_srcdir)/src/mod/endpoints/mod_verto/mcast
MCAST_la_LDFLAGS = -avoid-version -module -no-undefined -shared $(PERL_LDFLAGS)
-#install-data-local: perlmod-install
+install-data-local: perlmod-install
-#perlmod-install: install-perlLTLIBRARIES
-# install -d -m 755 $(DESTDIR)$(PERL_SITEDIR)
-# install -m 755 mcast/MCAST.pm $(DESTDIR)$(PERL_SITEDIR)
+perlmod-install: install-perlLTLIBRARIES
+ install -d -m 755 $(DESTDIR)$(perldir)
+ install -m 755 mcast/MCAST.pm $(DESTDIR)$(perldir)
endif
mcast/esl_wrap.cpp: