aboutsummaryrefslogtreecommitdiff
path: root/libexec/Makefile
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2020-09-09 00:39:47 +0000
committerKyle Evans <kevans@FreeBSD.org>2020-09-09 00:39:47 +0000
commit6703731d6e6a14771b76002087f4d84d8f66e82a (patch)
tree5f297ec6378479069c021a8e5989797467ea8863 /libexec/Makefile
parentd9052fccdf6533dcd6723739e44cd3bad5cc480b (diff)
downloadsrc-6703731d6e6a14771b76002087f4d84d8f66e82a.tar.gz
src-6703731d6e6a14771b76002087f4d84d8f66e82a.zip
phttpget: move out of portsnap
Currently, WITHOUT_PORTSNAP forces WITHOUT_FREEBSD_UPDATE because the latter relies on phttpget, which lives inside the portsnap build bits. Remove the dependency between these two options by moving phttpget out into ^/libexec and building/installing it if either WITH_PORTSNAP or WITH_FREEBSD_UPDATE. Future work could remove the conditional if it's decided that users will use it independently of either the current in-base consumers. Reported by: swills Reviewed by: jilles, emaste MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D26255
Notes
Notes: svn path=/head/; revision=365490
Diffstat (limited to 'libexec/Makefile')
-rw-r--r--libexec/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/libexec/Makefile b/libexec/Makefile
index 9c9ffd4ec1fc..1b41ae81565c 100644
--- a/libexec/Makefile
+++ b/libexec/Makefile
@@ -13,6 +13,7 @@ SUBDIR= ${_atf} \
${_mail.local} \
${_makewhatis.local} \
${_mknetid} \
+ ${_phttpget} \
${_pppoed} \
rc \
revnetgroup \
@@ -48,6 +49,10 @@ SUBDIR+= bootpd
SUBDIR+= fingerd
.endif
+.if ${MK_FREEBSD_UPDATE} != "no" || ${MK_PORTSNAP} != "no"
+_phttpget= phttpget
+.endif
+
.if ${MK_FTP} != "no"
SUBDIR+= ftpd
.endif