aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.pkgng.mk
diff options
context:
space:
mode:
Diffstat (limited to 'Mk/bsd.pkgng.mk')
-rw-r--r--Mk/bsd.pkgng.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/Mk/bsd.pkgng.mk b/Mk/bsd.pkgng.mk
index 79148791edb3..4d41b1a5f80d 100644
--- a/Mk/bsd.pkgng.mk
+++ b/Mk/bsd.pkgng.mk
@@ -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: