--- php-5.2.6/sapi/cgi/fpm/Makefile.frag~ 2008-11-16 17:28:21.000000000 +0200 +++ php-5.2.6/sapi/cgi/fpm/Makefile.frag 2008-11-16 17:45:31.953423690 +0200 @@ -1,8 +1,10 @@ +php_fpm_init_dir = /etc/rc.d/init.d + install-fpm: sapi/cgi/fpm/php-fpm.conf sapi/cgi/fpm/php-fpm @echo "Installing FPM config: $(INSTALL_ROOT)$(php_fpm_conf_path)" -@$(mkinstalldirs) \ - $(INSTALL_ROOT)$(prefix)/sbin \ + $(INSTALL_ROOT)$(php_fpm_init_dir) \ `dirname "$(INSTALL_ROOT)$(php_fpm_conf_path)"` \ `dirname "$(INSTALL_ROOT)$(php_fpm_log_path)"` \ `dirname "$(INSTALL_ROOT)$(php_fpm_pid_path)"` @@ -13,8 +15,8 @@ dest=`basename "$(php_fpm_conf_path)"` ; \ fi ; \ $(INSTALL_DATA) $(top_builddir)/sapi/cgi/fpm/php-fpm.conf $(INSTALL_ROOT)`dirname "$(php_fpm_conf_path)"`/$$dest - @echo "Installing init.d script: $(INSTALL_ROOT)$(prefix)/sbin/php-fpm" - -@$(INSTALL) -m 0755 $(top_builddir)/sapi/cgi/fpm/php-fpm $(INSTALL_ROOT)$(prefix)/sbin/php-fpm + @echo "Installing init.d script: $(INSTALL_ROOT)$(php_fpm_init_dir)/php-fpm" + -@$(INSTALL) -m 0755 $(top_builddir)/sapi/cgi/fpm/php-fpm $(INSTALL_ROOT)$(php_fpm_init_dir)/php-fpm $(top_builddir)/libevent/libevent.a: $(top_builddir)/libevent/Makefile cd $(top_builddir)/libevent && $(MAKE) libevent.a