summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-04-07 05:48:48 (GMT)
committerWaldemar Brodkorb <wbx@openadk.org>2014-04-07 05:48:48 (GMT)
commitf66ee677a516991a44be19c869239f99b2d64285 (patch)
tree8bf8aece31d2fb2452d080e1a2e43db66f1fb972 /mk
parent547b849f5d9d30c02b3783d58779acab7c09d8c1 (diff)
only use patch for ARCH == sparc
Diffstat (limited to '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 5ce3ca4..c8acd2a 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)