[svn-commits] tzafrir: branch 1.8 r426926 - /branches/1.8/Makefile

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Oct 31 11:25:56 CDT 2014


Author: tzafrir
Date: Fri Oct 31 11:25:52 2014
New Revision: 426926

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

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

Modified:
    branches/1.8/Makefile

Modified: branches/1.8/Makefile
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/Makefile?view=diff&rev=426926&r1=426925&r2=426926
==============================================================================
--- branches/1.8/Makefile (original)
+++ branches/1.8/Makefile Fri Oct 31 11:25:52 2014
@@ -685,7 +685,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" ; \




More information about the svn-commits mailing list