mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-28 21:54:40 +03: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
Notes:
sideshowbarker
2024-07-18 22:51:28 +09:00
Author: https://github.com/TheMorc Commit: https://github.com/SerenityOS/serenity/commit/d4668507d40 Pull-request: https://github.com/SerenityOS/serenity/pull/5038 Reviewed-by: https://github.com/linusg
@ -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…
Reference in New Issue
Block a user