From d4668507d40e6e7c97a1103f83ed1cb945974bb2 Mon Sep 17 00:00:00 2001 From: TheMorc Date: Fri, 22 Jan 2021 17:09:40 +0100 Subject: [PATCH] Ports: Improve configure script Just a small modification so that ports that are configured e.g. using cmake don't need a dummy configure file anymore. --- Ports/.port_include.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ports/.port_include.sh b/Ports/.port_include.sh index 5364221b69..24051908c7 100755 --- a/Ports/.port_include.sh +++ b/Ports/.port_include.sh @@ -151,6 +151,7 @@ func_defined pre_configure || pre_configure() { : } func_defined configure || configure() { + chmod +x "${workdir}"/"$configscript" run ./"$configscript" --host=i686-pc-serenity $configopts } func_defined build || build() { @@ -252,7 +253,6 @@ do_configure() { if [ "$useconfigure" = "true" ]; then echo "Configuring $port!" pre_configure - chmod +x "${workdir}"/"$configscript" configure else echo "This port does not use a configure script. Skipping configure step."