New build KNOB: WITHOUT_PKGBOOTSTRAP to condition building of usr.sbin/pkg
Do not condition usr.sbin/pkg building on WITHOUT_PKGTOOLS anymore, so that users can remove the old pkg_* tools without removing the pkgng boostrap Approved by: des (mentor) MFC after: 1 month
This commit is contained in:
parent
87e5ba0b54
commit
2f3a9ba57f
@ -3482,6 +3482,10 @@ OLD_FILES+=usr/share/man/man8/pflogd.8.gz
|
||||
OLD_FILES+=usr/share/man/man8/tftp-proxy.8.gz
|
||||
.endif
|
||||
|
||||
.if ${MK_PKGBOOTSTRAP} == no
|
||||
OLD_FILES+=usr/sbin/pkg
|
||||
.endif
|
||||
|
||||
.if ${MK_PKGTOOLS} == no
|
||||
OLD_FILES+=etc/periodic/daily/490.status-pkg-changes
|
||||
OLD_FILES+=etc/periodic/security/460.chkportsum
|
||||
|
4
tools/build/options/WITHOUT_PKGBOOSTRAP
Normal file
4
tools/build/options/WITHOUT_PKGBOOSTRAP
Normal file
@ -0,0 +1,4 @@
|
||||
.\" $FreeBSD$
|
||||
Set to not build
|
||||
.Xr pkg
|
||||
bootstrap tool
|
@ -259,9 +259,12 @@ SUBDIR+= keyserv
|
||||
SUBDIR+= ftp-proxy
|
||||
.endif
|
||||
|
||||
.if ${PK_PKGBOOTSTRAP} != "no"
|
||||
SUBDIR+= pkg
|
||||
.endif
|
||||
|
||||
.if ${MK_PKGTOOLS} != "no"
|
||||
SUBDIR+= pkg_install
|
||||
SUBDIR+= pkg
|
||||
.endif
|
||||
|
||||
# XXX MK_TOOLCHAIN?
|
||||
|
Loading…
Reference in New Issue
Block a user