From owner-svn-ports-all@FreeBSD.ORG Thu Jun 4 11:53:07 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3C0716F6; Thu, 4 Jun 2015 11:53:07 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2A96A1DF9; Thu, 4 Jun 2015 11:53:07 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t54Br7MV027903; Thu, 4 Jun 2015 11:53:07 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t54Br7x6027902; Thu, 4 Jun 2015 11:53:07 GMT (envelope-from bapt@FreeBSD.org) Message-Id: <201506041153.t54Br7x6027902@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f From: Baptiste Daroussin Date: Thu, 4 Jun 2015 11:53:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r388528 - head/Mk/Uses X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jun 2015 11:53:07 -0000 Author: bapt Date: Thu Jun 4 11:53:06 2015 New Revision: 388528 URL: https://svnweb.freebsd.org/changeset/ports/388528 Log: Always define GID, this fixes build of uidfix when building as root Reported by: marino (based on a sendmail failure) Pointyhat to: bapt Modified: head/Mk/Uses/uidfix.mk Modified: head/Mk/Uses/uidfix.mk ============================================================================== --- head/Mk/Uses/uidfix.mk Thu Jun 4 11:40:28 2015 (r388527) +++ head/Mk/Uses/uidfix.mk Thu Jun 4 11:53:06 2015 (r388528) @@ -10,10 +10,10 @@ .if !defined(_INCLUDE_USES_UIDFIX_MK) _INCLUDE_USES_UIDFIX_MK= yes -.if ${UID} != 0 .if !defined(GID) GID!= id -g .endif +.if ${UID} != 0 MAKE_ENV+= BINOWN=${UID} SHAREOWN=${UID} CONFOWN=${UID} LIBOWN=${UID} MAKE_ENV+= BINGRP=${GID} SHAREGRP=${GID} CONFGRP=${GID} LIBGRP=${GID} BINOWN= ${UID}