Author: tzafrir
Date: Fri Oct 31 11:32:56 2014
New Revision: 426927

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=426927
Log:
install init.d files on GNU/kFreeBSD

Review: https://reviewboard.asterisk.org/r/4118/
........

Merged revisions 426926 from http://svn.asterisk.org/svn/asterisk/branches/1.8

Modified:
    branches/11/   (props changed)
    branches/11/Makefile

Propchange: branches/11/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.

Modified: branches/11/Makefile
URL: 
http://svnview.digium.com/svn/asterisk/branches/11/Makefile?view=diff&rev=426927&r1=426926&r2=426927
==============================================================================
--- branches/11/Makefile (original)
+++ branches/11/Makefile Fri Oct 31 11:32:56 2014
@@ -747,7 +747,7 @@
        rm -f contrib/scripts/asterisk.logrotate.tmp
 
 config:
-       @if [ "${OSARCH}" = "linux-gnu" ]; then \
+       @if [ "${OSARCH}" = "linux-gnu" -o "${OSARCH}" = "kfreebsd-gnu"]; then \
                if [ -f /etc/redhat-release -o -f /etc/fedora-release ]; then \
                        cat contrib/init.d/rc.redhat.asterisk | sed 
's|__ASTERISK_ETC_DIR__|$(ASTETCDIR)|;s|__ASTERISK_SBIN_DIR__|$(ASTSBINDIR)|;s|__ASTERISK_VARRUN_DIR__|$(ASTVARRUNDIR)|;'
 > contrib/init.d/rc.asterisk.tmp ; \
                        $(INSTALL) -m 755 contrib/init.d/rc.asterisk.tmp 
"$(DESTDIR)/etc/rc.d/init.d/asterisk" ; \


-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

svn-commits mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/svn-commits

Reply via email to