mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 02:57:36 +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() {
|
||||
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."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue