diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-07-03 13:48:25 +0800 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-07-03 13:48:25 +0800 |
commit | 44900b87e1fa74474388ff73ae05cdfc92ce4bc1 (patch) | |
tree | dd26fabdc6bf4660a9d073e3c6c3f9853f33b7fe /Mk | |
parent | d8f9e671fb043da28b3c69b26bb8354fc108f1f6 (diff) | |
download | freebsd-ports-gnome-44900b87e1fa74474388ff73ae05cdfc92ce4bc1.tar.gz freebsd-ports-gnome-44900b87e1fa74474388ff73ae05cdfc92ce4bc1.tar.zst freebsd-ports-gnome-44900b87e1fa74474388ff73ae05cdfc92ce4bc1.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>
Diffstat (limited to 'Mk')
-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: |