Switching current to use pkgng by default

Adding WITHOUT_PKGNG for people not willing to migrate to pkgng now

Hat:		portmgr
Non-regression:	beat
Exp-runs:	beat
This commit is contained in:
Baptiste Daroussin 2012-10-10 08:40:21 +00:00
parent 8cc8d92dff
commit 39055bef9c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=305637
4 changed files with 48 additions and 0 deletions

10
CHANGES
View File

@ -10,6 +10,16 @@ in the release notes and/or placed into UPDATING.
All ports committers are allowed to commit to this file.
20121010:
AUTHOR: bapt@FreeBSD.org
* The ports tree is now using pkgng as the default package manager
for HEAD. This only affects users of CURRENT -- users of other
branches need not take any action.
To keep pkg_install as the default package manager, use the new
WITHOUT_PKGNG knob in make.conf
20120830:
AUTHOR: beat@FreeBSD.org

View File

@ -1209,6 +1209,14 @@ OSVERSION!= ${SYSCTL} -n kern.osreldate
.endif
.endif
.if ${OSVERSION} >= 1000017
.if !defined(WITHOUT_PKGNG)
WITH_PKGNG= yes
.else
.undef WITH_PKGNG
.endif
.endif
MASTERDIR?= ${.CURDIR}
.if ${MASTERDIR} != ${.CURDIR}

View File

@ -77,6 +77,14 @@ OSVERSION!= ${SYSCTL} -n kern.osreldate
.endif
.endif
.if ${OSVERSION} >= 1000017
.if !defined(WITHOUT_PKGNG)
WITH_PKGNG= yes
.else
.undef WITH_PKGNG
.endif
.endif
.if !defined(_OSRELEASE)
_OSRELEASE!= uname -r
.endif

View File

@ -5,6 +5,28 @@ they are unavoidable.
You should get into the habit of checking this file for changes each time
you update your ports collection, before attempting any port upgrades.
20121010:
AFFECTS: users of CURRENT
AUTHOR: bapt@FreeBSD.org
The ports tree is now using pkgng as the default package manager
for HEAD. This only affects users of CURRENT -- users of other
branches need not take any action.
To keep pkg_install as the default package manager, use the new
WITHOUT_PKGNG knob in make.conf
To make the switch:
1/ Set WITHOUT_PKGNG=yes in make.conf and upgrade all your ports to
the latest available versions using your favourite tools.
2/ Install ports-mgmt/pkg
3/ Remove WITHOUT_PKGNG from make.conf and run
# pkg2ng
20121009:
AFFECTS: users of multimedia/vdpau-video
AUTHOR: madpilot@FreeBSD.org