Date: Wed, 3 Jul 2013 05:48:25 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r322214 - head/Mk Message-ID: <201307030548.r635mPu1041408@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Wed Jul 3 05:48:25 2013 New Revision: 322214 URL: http://svnweb.freebsd.org/changeset/ports/322214 Log: 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> Modified: head/Mk/bsd.pkgng.mk Modified: head/Mk/bsd.pkgng.mk ============================================================================== --- head/Mk/bsd.pkgng.mk Wed Jul 3 03:01:20 2013 (r322213) +++ head/Mk/bsd.pkgng.mk Wed Jul 3 05:48:25 2013 (r322214) @@ -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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307030548.r635mPu1041408>