aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-06-13 17:32:39 +0800
committerbapt <bapt@FreeBSD.org>2013-06-13 17:32:39 +0800
commit763af3390178562776a09f765e38db58106382cf (patch)
treec8263d6373da3012d06b2dd81913c71506ff94f5
parent5b2006afde63d63e824895b6c11910eb52c27b94 (diff)
downloadfreebsd-ports-gnome-763af3390178562776a09f765e38db58106382cf.tar.gz
freebsd-ports-gnome-763af3390178562776a09f765e38db58106382cf.tar.zst
freebsd-ports-gnome-763af3390178562776a09f765e38db58106382cf.zip
Fail in case a checksum fails with bmake
-rw-r--r--Mk/bsd.port.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 8bff171514c3..6deebed86db5 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -4799,7 +4799,8 @@ makesum: check-checksum-algorithms
.if !target(checksum)
checksum: fetch check-checksum-algorithms
- @${checksum_init} \
+ @set -e ; \
+ ${checksum_init} \
if [ -f ${DISTINFO_FILE} ]; then \
cd ${DISTDIR}; OK="";\
for file in ${_CKSUMFILES}; do \