Force WITHOUT_FREEBSD_UPDATE when WITHOUT_PORTSNAP is set

freebsd-update depends on phttpget from portsnap. We could move phttpget
out of portsnap and build it as long as WITHOUT_FREEBSD_UPDATE and
WITHOUT_PORTSNAP are not both set, but for now just make the dependency
explicit.

PR:		228220
Reported by:	Dries Michiels
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Ed Maste 2018-05-16 01:33:48 +00:00
parent 60561279cf
commit 1069f41bb8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=333658

View File

@ -424,6 +424,11 @@ MK_KERBEROS:= no
MK_AUTHPF:= no
.endif
.if ${MK_PORTSNAP} == "no"
# freebsd-update depends on phttpget from portsnap
MK_FREEBSD_UPDATE:= no
.endif
.if ${MK_TESTS} == "no"
MK_DTRACE_TESTS:= no
.endif