diff options
author | bapt <bapt@FreeBSD.org> | 2013-07-03 13:48:25 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-07-03 13:48:25 +0800 |
commit | ebc59dccc06fb6652744b4d167b61d95f13287ee (patch) | |
tree | dd26fabdc6bf4660a9d073e3c6c3f9853f33b7fe | |
parent | 5827e6d0749730997cfe28c177a58cad093c5dec (diff) | |
download | freebsd-ports-gnome-ebc59dccc06fb6652744b4d167b61d95f13287ee.tar.gz freebsd-ports-gnome-ebc59dccc06fb6652744b4d167b61d95f13287ee.tar.zst freebsd-ports-gnome-ebc59dccc06fb6652744b4d167b61d95f13287ee.zip |
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>
-rw-r--r-- | Mk/bsd.pkgng.mk | 5 |
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: |