svn commit: r388528 - head/Mk/Uses

Baptiste Daroussin bapt at FreeBSD.org
Thu Jun 4 11:53:07 UTC 2015


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}


More information about the svn-ports-all mailing list