mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 06:14:58 +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
|
||||
}
|
||||
|
||||
func_defined pre_patch || pre_patch() {
|
||||
:
|
||||
}
|
||||
|
||||
func_defined patch_internal || patch_internal() {
|
||||
# patch if it was not yet patched (applying patches multiple times doesn't work!)
|
||||
if [ -d patches ]; then
|
||||
|
@ -421,6 +425,7 @@ do_fetch() {
|
|||
}
|
||||
do_patch() {
|
||||
echo "Patching $port!"
|
||||
pre_patch
|
||||
patch_internal
|
||||
}
|
||||
do_configure() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue