summaryrefslogtreecommitdiffstats
path: root/www/pruby/files/patch-Makefile
blob: c57343faad029f0af2bb0b187bd7cc5caace2edb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
--- Makefile.orig	Thu Feb 22 07:07:58 2001
+++ Makefile	Fri Mar  2 22:01:20 2001
@@ -16,7 +16,7 @@
 all: pruby.so
 
 clean:
-	-[ -f rbwhere.mk ] && make -C ext_pruby_src clean
+	-[ -f rbwhere.mk ] && gmake -C ext_pruby_src clean
 	rm -f $(CLEAN)
 
 confclean: clean
@@ -27,18 +27,18 @@
 conf: configed.now
 
 ext_pruby_src/libs.mk ext_pruby_src/Makefile phpinfo.sd rbwhere.mk rbwhere.sd configed.now: extconf.sh phpinfo.out Configuration ext_pruby_src/Makefile.inpts ext_pruby_src/libs.mk.inpts
-	bash ./extconf.sh
+	sh ./extconf.sh
 
 pruby.so: ext_pruby_src/.libs/pruby.so
 	cp -f $< $@
 
 ext_pruby_src/.libs/pruby.so: rbwhere.mk ext_pruby_src/php_pruby.c
-	make -C ext_pruby_src
+	gmake -C ext_pruby_src
 
 php_ini_which: phpinfo.sd
-	bash -c 'source phpinfo.sd; echo "$$PI_CONFIGURATION_FILE__PHP_INI__PATH"/php.ini'
+	sh -c '. phpinfo.sd; echo "$$PI_CONFIGURATION_FILE__PHP_INI__PATH"/php.ini'
 
 install: pruby.so phpinfo.sd
-	bash -c 'source phpinfo.sd; cp -f pruby.so "$$PI_EXTENSION_DIR"/pruby.so'
+	sh -c '. phpinfo.sd; cp -f pruby.so "$$PI_EXTENSION_DIR"/pruby.so'
 
 # end of Makefile
OpenPOWER on IntegriCloud