pkg2ng is calling directly bsd.pkgng.mk if present which will fail because of the lack of UID.
Define it if not already defined earlier Submitted by: Yar Tikhiy <yar.tikhiy@gmail.com>
This commit is contained in:
parent
d8f9e671fb
commit
44900b87e1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=322214
1 changed files with 5 additions and 0 deletions
|
@ -36,6 +36,11 @@ ACTUAL-PACKAGE-DEPENDS?= \
|
|||
${PKG_QUERY} "%dn: {origin: %do, version: \"%dv\"}" " " ${_LIB_RUN_DEPENDS:C,[^:]*:([^:]*):?.*,\1,:C,${PORTSDIR}/,,} 2>/dev/null || : ; \
|
||||
fi
|
||||
|
||||
# Redifine pkg2ng calls durectly bsd.pkgng.mk and needs it
|
||||
|
||||
.if !defined(UID)
|
||||
UID!= ${ID} -u
|
||||
.endif
|
||||
|
||||
.if !target(fake-pkg)
|
||||
fake-pkg:
|
||||
|
|
Loading…
Reference in a new issue