X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=apache-couchdb-init.d.patch;fp=apache-couchdb-init.d.patch;h=a5044a3962aa93974bcd601cc98a666bcfaf84e0;hb=56261cf6914e14768b5286602116281b6a20dec9;hp=0000000000000000000000000000000000000000;hpb=ec3f1cc91fa4caac6e6aaadfeb95cdfaed46ecef;p=packages%2Fapache-couchdb.git diff --git a/apache-couchdb-init.d.patch b/apache-couchdb-init.d.patch new file mode 100644 index 0000000..a5044a3 --- /dev/null +++ b/apache-couchdb-init.d.patch @@ -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})