svn commit: r328103 - head/Mk/Uses

Baptiste Daroussin bapt at FreeBSD.org
Tue Sep 24 10:00:09 UTC 2013


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 at 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


More information about the svn-ports-all mailing list