SOURCES: apache-couchdb-init.d.patch (NEW) - find pld init.d dir

glen glen at pld-linux.org
Mon Nov 3 13:38:49 CET 2008


Author: glen                         Date: Mon Nov  3 12:38:49 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- find pld init.d dir

---- Files affected:
SOURCES:
   apache-couchdb-init.d.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/apache-couchdb-init.d.patch
diff -u /dev/null SOURCES/apache-couchdb-init.d.patch:1.1
--- /dev/null	Mon Nov  3 13:38:49 2008
+++ SOURCES/apache-couchdb-init.d.patch	Mon Nov  3 13:38:43 2008
@@ -0,0 +1,15 @@
+--- apache-couchdb-0.8.1-incubating/configure.ac~	2008-06-17 01:47:54.000000000 +0300
++++ apache-couchdb-0.8.1-incubating/configure.ac	2008-11-03 14:32:20.470999260 +0200
+@@ -151,7 +151,11 @@
+ 
+ if test "$use_init" = "yes"; then
+    AC_MSG_CHECKING(location of init directory)
+-   if test -d /etc/rc.d; then
++   if test -d /etc/rc.d/init.d; then
++       init_enabled=true
++       AC_SUBST([initdir], ['${sysconfdir}/rc.d/init.d'])
++       AC_MSG_RESULT(${initdir})
++   else if test -d /etc/rc.d; then
+        init_enabled=true
+        AC_SUBST([initdir], ['${sysconfdir}/rc.d'])
+        AC_MSG_RESULT(${initdir})
================================================================


More information about the pld-cvs-commit mailing list