summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--subr.pkg/pkg_configure_patch.subr4
1 files changed, 4 insertions, 0 deletions
diff --git a/subr.pkg/pkg_configure_patch.subr b/subr.pkg/pkg_configure_patch.subr
index 572ea10..62c4f38 100644
--- a/subr.pkg/pkg_configure_patch.subr
+++ b/subr.pkg/pkg_configure_patch.subr
@@ -12,6 +12,10 @@ pkg_configure_patch() {
_pcp_restart_at="${3}" _pcp_type="${4:-patches}" \
_pcp_patch_cwd="" _pcp_strip_count=0;
+ if [ -x "${PKG_BASE_DIR}/${PKG_SUBDIR}/srcprep.sh" ]; then
+ return 0;
+ fi;
+
if [ "${PKG_FNAME:+1}" = 1 ]\
&& [ "${PKG_URLS_GIT:+1}" = 1 ];
then