mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:17:44 +00:00
Ports: Add pre_fetch to .port_include.sh
This commit is contained in:
parent
a0412e0d5e
commit
142f9db5bd
1 changed files with 5 additions and 0 deletions
|
@ -305,6 +305,10 @@ fetch() {
|
||||||
post_fetch
|
post_fetch
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func_defined pre_patch || pre_patch() {
|
||||||
|
:
|
||||||
|
}
|
||||||
|
|
||||||
func_defined patch_internal || patch_internal() {
|
func_defined patch_internal || patch_internal() {
|
||||||
# patch if it was not yet patched (applying patches multiple times doesn't work!)
|
# patch if it was not yet patched (applying patches multiple times doesn't work!)
|
||||||
if [ -d patches ]; then
|
if [ -d patches ]; then
|
||||||
|
@ -421,6 +425,7 @@ do_fetch() {
|
||||||
}
|
}
|
||||||
do_patch() {
|
do_patch() {
|
||||||
echo "Patching $port!"
|
echo "Patching $port!"
|
||||||
|
pre_patch
|
||||||
patch_internal
|
patch_internal
|
||||||
}
|
}
|
||||||
do_configure() {
|
do_configure() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue