mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:47:45 +00:00
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.
This commit is contained in:
parent
ffc51853bf
commit
d4668507d4
1 changed files with 1 additions and 1 deletions
|
@ -151,6 +151,7 @@ func_defined pre_configure || pre_configure() {
|
||||||
:
|
:
|
||||||
}
|
}
|
||||||
func_defined configure || configure() {
|
func_defined configure || configure() {
|
||||||
|
chmod +x "${workdir}"/"$configscript"
|
||||||
run ./"$configscript" --host=i686-pc-serenity $configopts
|
run ./"$configscript" --host=i686-pc-serenity $configopts
|
||||||
}
|
}
|
||||||
func_defined build || build() {
|
func_defined build || build() {
|
||||||
|
@ -252,7 +253,6 @@ do_configure() {
|
||||||
if [ "$useconfigure" = "true" ]; then
|
if [ "$useconfigure" = "true" ]; then
|
||||||
echo "Configuring $port!"
|
echo "Configuring $port!"
|
||||||
pre_configure
|
pre_configure
|
||||||
chmod +x "${workdir}"/"$configscript"
|
|
||||||
configure
|
configure
|
||||||
else
|
else
|
||||||
echo "This port does not use a configure script. Skipping configure step."
|
echo "This port does not use a configure script. Skipping configure step."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue