summaryrefslogtreecommitdiff
path: root/mk/buildhlp.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/buildhlp.mk')
-rw-r--r--mk/buildhlp.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/buildhlp.mk b/mk/buildhlp.mk
index 5ce3ca4a0..c8acd2ae6 100644
--- a/mk/buildhlp.mk
+++ b/mk/buildhlp.mk
@@ -72,9 +72,9 @@ ifeq ($(strip ${__use_generic_patch_target}),42)
post-patch:
${WRKDIST}/.prepared: ${WRKDIST}/.extract_done
[ ! -d ./patches/${PKG_VERSION} ] || ${PREVENT_PATCH} ${PATCH} ${WRKDIST} ./patches/${PKG_VERSION} \
- '{patch-!(*.orig),*.patch}' $(MAKE_TRACE)
+ '{patch-!(*.orig),*.patch,*.${ARCH}}' $(MAKE_TRACE)
[ ! -d ./patches ] || ${PREVENT_PATCH} ${PATCH} ${WRKDIST} ./patches \
- '{patch-!(*.orig),*.patch}' $(MAKE_TRACE)
+ '{patch-!(*.orig),*.patch,*.${ARCH}}' $(MAKE_TRACE)
[ ! -d ./src ] || (cd src; $(PREVENT_PATCH) cp -Rp . ${WRKDIST}/) \
$(MAKE_TRACE)
@${MAKE} post-patch $(MAKE_TRACE)