aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2017-03-13 21:25:04 +0800
committerTijl Coosemans <tijl@FreeBSD.org>2017-03-13 21:25:04 +0800
commitae76d740f6112b84e0c079f8bdf0dab37d0002ba (patch)
tree17d09bac0d7c821c746795352de04916365d0b08 /Mk
parent2bc76f6faa8fe68d1e47c24faac562141c350ed4 (diff)
downloadfreebsd-ports-gnome-ae76d740f6112b84e0c079f8bdf0dab37d0002ba.tar.gz
freebsd-ports-gnome-ae76d740f6112b84e0c079f8bdf0dab37d0002ba.tar.zst
freebsd-ports-gnome-ae76d740f6112b84e0c079f8bdf0dab37d0002ba.zip
Enable https certificate verification during make makesum.
Discussion: https://lists.freebsd.org/pipermail/freebsd-ports/2017-March/107694.html Approved by: portmgr (adamw)
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.port.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index d3ffc280d86d..afedaf122f9b 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -2007,7 +2007,9 @@ BUILD_FAIL_MESSAGE+= Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reportin
.include "${PORTSDIR}/Mk/bsd.ccache.mk"
+.if !make(makesum)
FETCH_ENV?= SSL_NO_VERIFY_PEER=1 SSL_NO_VERIFY_HOSTNAME=1
+.endif
FETCH_BINARY?= /usr/bin/fetch
FETCH_ARGS?= -Fpr
FETCH_REGET?= 1