aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.port.mk
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2015-04-21 09:03:52 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2015-04-21 09:03:52 +0000
commitf3d0196f85bef38717441080f13adbc146e230cb (patch)
treec6af8de2a901d5958d4cb2349078a106101f6ee1 /Mk/bsd.port.mk
parentf4cad8f603f72a623e2e5078106784d21314d84e (diff)
downloadports-f3d0196f85bef38717441080f13adbc146e230cb.tar.gz
ports-f3d0196f85bef38717441080f13adbc146e230cb.zip
Notes
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r--Mk/bsd.port.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 7d128f9c102f..69a2d7ebc5a2 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -3380,9 +3380,11 @@ do-configure:
@CONFIG_GUESS_DIRS=$$(${FIND} ${WRKDIR} -name config.guess -o -name config.sub \
| ${XARGS} -n 1 ${DIRNAME}); \
for _D in $${CONFIG_GUESS_DIRS}; do \
- ${CP} -f ${TEMPLATES}/config.guess $${_D}/config.guess; \
+ ${RM} $${_D}/config.guess; \
+ ${CP} ${TEMPLATES}/config.guess $${_D}/config.guess; \
${CHMOD} a+rx $${_D}/config.guess; \
- ${CP} -f ${TEMPLATES}/config.sub $${_D}/config.sub; \
+ ${RM} $${_D}/config.sub; \
+ ${CP} ${TEMPLATES}/config.sub $${_D}/config.sub; \
${CHMOD} a+rx $${_D}/config.sub; \
done
.endif