2013-08-17 15:15:21 +02:00
|
|
|
$NetBSD: patch-sapi_cgi_Makefile.frag,v 1.2 2013/08/17 13:15:21 taca Exp $
|
2013-07-29 18:41:02 +02:00
|
|
|
|
2013-08-17 15:15:21 +02:00
|
|
|
--- sapi/cgi/Makefile.frag.orig 2013-08-15 20:42:04.000000000 +0000
|
2013-07-29 18:41:02 +02:00
|
|
|
+++ sapi/cgi/Makefile.frag
|
2013-08-17 15:15:21 +02:00
|
|
|
@@ -4,9 +4,9 @@ $(SAPI_CGI_PATH): $(PHP_GLOBAL_OBJS) $(P
|
2013-07-29 18:41:02 +02:00
|
|
|
$(BUILD_CGI)
|
|
|
|
|
|
|
|
install-cgi: $(SAPI_CGI_PATH)
|
|
|
|
- @echo "Installing PHP CGI binary: $(INSTALL_ROOT)$(bindir)/"
|
|
|
|
+ @echo "Installing PHP CGI binary: $(INSTALL_ROOT)@CGIDIR@/"
|
2013-08-17 15:15:21 +02:00
|
|
|
@$(mkinstalldirs) $(INSTALL_ROOT)$(bindir)
|
|
|
|
- @$(INSTALL) -m 0755 $(SAPI_CGI_PATH) $(INSTALL_ROOT)$(bindir)/$(program_prefix)php-cgi$(program_suffix)$(EXEEXT)
|
|
|
|
+ @$(INSTALL) -m 0755 $(SAPI_CGI_PATH) $(INSTALL_ROOT)@CGIDIR@/$(program_prefix)php$(program_suffix)$(EXEEXT)
|
2013-07-29 18:41:02 +02:00
|
|
|
@echo "Installing PHP CGI man page: $(INSTALL_ROOT)$(mandir)/man1/"
|
|
|
|
@$(mkinstalldirs) $(INSTALL_ROOT)$(mandir)/man1
|
|
|
|
@$(INSTALL_DATA) sapi/cgi/php-cgi.1 $(INSTALL_ROOT)$(mandir)/man1/$(program_prefix)php-cgi$(program_suffix).1
|