Fix LATEST_LINK without pkgng

This commit is contained in:
Baptiste Daroussin 2013-06-10 22:39:27 +00:00
parent 2060ac07ca
commit 2d96e25196
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=320507

View file

@ -76,7 +76,6 @@ NB_OLDPKGS!= pkg_info 2>/dev/null | wc -l
.if exists(${PKG_BIN})
NB_NEWPKGS!= ${PKG_INFO} -aq | wc -l
.else
LATEST_LINK= pkg-devel
NB_NEWPKGS= 0
.endif
# Only show the pre-everything notice if they have not already
@ -102,6 +101,8 @@ pre-everything::
.endif
.endif
.else
LATEST_LINK= pkg-devel
.endif
#define PKG_DEPENDS to nothing to avoid infinite loop looking for pkg :)