From c76c1326922f09e619e78ba563bb29bb3bc6ffdd Mon Sep 17 00:00:00 2001
From: Michael Jerris <mike@jerris.com>
Date: Tue, 17 Jun 2014 11:53:10 -0500
Subject: [PATCH] FS-6604: needs DESTDIR

---
 src/mod/endpoints/mod_verto/Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mod/endpoints/mod_verto/Makefile.am b/src/mod/endpoints/mod_verto/Makefile.am
index 06d6e9dffc..4e85399e7e 100644
--- a/src/mod/endpoints/mod_verto/Makefile.am
+++ b/src/mod/endpoints/mod_verto/Makefile.am
@@ -20,8 +20,8 @@ MCAST_la_LDFLAGS   = -avoid-version -module -no-undefined -shared $(PERL_LDFLAGS
 install-data-local: perlmod-install
 
 perlmod-install: install-perlLTLIBRARIES
-	install -d -m 755 $(PERL_SITEDIR)
-	install -m 755 mcast/MCAST.pm $(PERL_SITEDIR)
+	install -d -m 755 $(DESTDIR)$(PERL_SITEDIR)
+	install -m 755 mcast/MCAST.pm $(DESTDIR)$(PERL_SITEDIR)
 endif
 
 mcast/esl_wrap.cpp: