svn commit: r369300 - head/ports-mgmt/pkg
Bryan Drewery
bdrewery at FreeBSD.org
Fri Sep 26 01:14:15 UTC 2014
Author: bdrewery
Date: Fri Sep 26 01:14:14 2014
New Revision: 369300
URL: http://svnweb.freebsd.org/changeset/ports/369300
QAT: https://qat.redports.org/buildarchive/r369300/
Log:
Add a way to work around the pkg2ng gate for now.
With hat: portmgr
Modified:
head/ports-mgmt/pkg/Makefile
Modified: head/ports-mgmt/pkg/Makefile
==============================================================================
--- head/ports-mgmt/pkg/Makefile Fri Sep 26 00:50:14 2014 (r369299)
+++ head/ports-mgmt/pkg/Makefile Fri Sep 26 01:14:14 2014 (r369300)
@@ -54,7 +54,7 @@ NB_NEWPKGS= 0
.endif
# Only show the pre-everything notice if they have not already
# converted any packages
-.if ${NB_OLDPKGS} > 0 && ${NB_NEWPKGS} == 0
+.if ${NB_OLDPKGS} > 0 && ${NB_NEWPKGS} == 0 && !defined(UPGRADEPKG)
pre-everything::
@${ECHO_CMD} "You are about to convert your system to pkg while you have ports/packages"; \
@@ -62,6 +62,7 @@ pre-everything::
${ECHO_CMD} ""; \
${ECHO_CMD} "To switch to pkg:"; \
${ECHO_CMD} " 1) Install ports-mgmt/pkg"; \
+ ${ECHO_CMD} " cd ports-mgmt/pkg && make UPGRADEPKG=1 install clean"; \
${ECHO_CMD} " 2) Convert your package database by running pkg2ng"; \
${ECHO_CMD} ""; \
exit 1
More information about the svn-ports-head
mailing list