patch_funcs.sh: return immediately if no patches.
--HG-- extra : convert_revision : 2c87a0d74bc7a8f340213627b0b80374eb75cd44
This commit is contained in:
@@ -51,7 +51,6 @@ configure_src_phase()
|
|||||||
"$build_style" = "only-install" -o \
|
"$build_style" = "only-install" -o \
|
||||||
"$build_style" = "custom-install" ] && return 0
|
"$build_style" = "custom-install" ] && return 0
|
||||||
|
|
||||||
|
|
||||||
# cross compilation vars.
|
# cross compilation vars.
|
||||||
if [ -n "$cross_compiler" ]; then
|
if [ -n "$cross_compiler" ]; then
|
||||||
. $XBPS_HELPERSDIR/cross-compilation.sh
|
. $XBPS_HELPERSDIR/cross-compilation.sh
|
||||||
|
|||||||
@@ -40,6 +40,7 @@ apply_tmpl_patches()
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
[ -z "$patch_args" ] && patch_args="-p0"
|
[ -z "$patch_args" ] && patch_args="-p0"
|
||||||
|
[ -z "$patch_files" ] && return 0
|
||||||
|
|
||||||
#
|
#
|
||||||
# If package needs some patches applied before building,
|
# If package needs some patches applied before building,
|
||||||
|
|||||||
Reference in New Issue
Block a user