[projects/pld-builder.new] Add php 8.0 support

glen glen at pld-linux.org
Wed Oct 14 22:06:05 CEST 2020


commit 8f4aa5dc4fad007fbd51d9a6d3a87145cc1bee7e
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Oct 14 23:05:57 2020 +0300

    Add php 8.0 support

 client/php.sh   | 9 ++++++++-
 client/php80.sh | 1 +
 2 files changed, 9 insertions(+), 1 deletion(-)
---
diff --git a/client/php.sh b/client/php.sh
index 32dff7e..19f9883 100755
--- a/client/php.sh
+++ b/client/php.sh
@@ -4,7 +4,7 @@ program=${0##*/}
 program=${program%.sh}
 dir=$(dirname "$0")
 suffix=${program#php}
-pre_command='for a in php4-common php52-common php53-common php54-common php55-common php56-common php70-common php71-common php72-common php73-common php74-common hhvm; do poldek -e $a --noask; done; :'
+pre_command='for a in php4-common php52-common php53-common php54-common php55-common php56-common php70-common php71-common php72-common php73-common php74-common php80-common hhvm; do poldek -e $a --noask; done; :'
 
 request() {
 	"$dir/make-request.sh" -D "php_suffix $suffix" ${pre_command:+-c "$pre_command"} ${post_command:+-C "$post_command"} "$@"
@@ -27,6 +27,13 @@ case "$suffix" in
 		request "$@"
 	done
 	;;
+8*)
+	for php in $dir/php8?.sh; do
+		suffix=${php#$dir/php}
+		suffix=${suffix%.sh}
+		request "$@"
+	done
+	;;
 *)
 	request "$@"
 	;;
diff --git a/client/php80.sh b/client/php80.sh
new file mode 120000
index 0000000..d20ec52
--- /dev/null
+++ b/client/php80.sh
@@ -0,0 +1 @@
+php.sh
\ No newline at end of file
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/pld-builder.new.git/commitdiff/8f4aa5dc4fad007fbd51d9a6d3a87145cc1bee7e



More information about the pld-cvs-commit mailing list