Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Sep 2013 10:00:09 +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: r328103 - head/Mk/Uses
Message-ID:  <201309241000.r8OA09sK084721@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Tue Sep 24 10:00:08 2013
New Revision: 328103
URL: http://svnweb.freebsd.org/changeset/ports/328103

Log:
  In preparation for package as user introduce a new uidfix, which will setup anything
  need for a build system to allow staging as a user.
  For now only setup for port using bsd.prog.mk is available

Added:
  head/Mk/Uses/uidfix.mk   (contents, props changed)

Added: head/Mk/Uses/uidfix.mk
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/Mk/Uses/uidfix.mk	Tue Sep 24 10:00:08 2013	(r328103)
@@ -0,0 +1,15 @@
+# $FreeBSD$
+#
+# Changes some default behaviour of build systems to allow installing as user.
+#
+# MAINTAINER:	bapt@FreeBSD.org
+#
+# Feature:	uidfix
+# Usage:	USES=uidfix
+# Valid ARGS:	none
+#
+.if !defined(_INCLUDE_USES_UIDFIX_MK)
+.if ${UID} != 0
+MAKE_ENV+=	BINOWN=${UID} SHAREOWN=${UID} CONFOWN=${UID}
+.endif
+.endif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309241000.r8OA09sK084721>