From owner-svn-ports-all@freebsd.org  Sat Nov 12 13:26:32 2016
Return-Path: <owner-svn-ports-all@freebsd.org>
Delivered-To: svn-ports-all@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3515EC3DAFB;
 Sat, 12 Nov 2016 13:26:32 +0000 (UTC)
 (envelope-from bapt@FreeBSD.org)
Received: from repo.freebsd.org (repo.freebsd.org
 [IPv6:2610:1c1:1:6068::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 EEE041562;
 Sat, 12 Nov 2016 13:26:31 +0000 (UTC)
 (envelope-from bapt@FreeBSD.org)
Received: from repo.freebsd.org ([127.0.1.37])
 by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uACDQVV1031835;
 Sat, 12 Nov 2016 13:26:31 GMT (envelope-from bapt@FreeBSD.org)
Received: (from bapt@localhost)
 by repo.freebsd.org (8.15.2/8.15.2/Submit) id uACDQV2O031834;
 Sat, 12 Nov 2016 13:26:31 GMT (envelope-from bapt@FreeBSD.org)
Message-Id: <201611121326.uACDQV2O031834@repo.freebsd.org>
X-Authentication-Warning: repo.freebsd.org: bapt set sender to
 bapt@FreeBSD.org using -f
From: Baptiste Daroussin <bapt@FreeBSD.org>
Date: Sat, 12 Nov 2016 13:26:31 +0000 (UTC)
To: ports-committers@freebsd.org, svn-ports-all@freebsd.org,
 svn-ports-head@freebsd.org
Subject: svn commit: r425951 - head/editors/libreoffice/files
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.23
Precedence: list
List-Id: SVN commit messages for the ports tree <svn-ports-all.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/svn-ports-all>,
 <mailto:svn-ports-all-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-ports-all/>
List-Post: <mailto:svn-ports-all@freebsd.org>
List-Help: <mailto:svn-ports-all-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/svn-ports-all>,
 <mailto:svn-ports-all-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 12 Nov 2016 13:26:32 -0000

Author: bapt
Date: Sat Nov 12 13:26:30 2016
New Revision: 425951
URL: https://svnweb.freebsd.org/changeset/ports/425951

Log:
  Allow to bulid as root
  
  PR:		214440
  Reported by:	O. Hartmann <ohartmann@walstatt.org>

Modified:
  head/editors/libreoffice/files/patch-Makefile.in

Modified: head/editors/libreoffice/files/patch-Makefile.in
==============================================================================
--- head/editors/libreoffice/files/patch-Makefile.in	Sat Nov 12 13:09:30 2016	(r425950)
+++ head/editors/libreoffice/files/patch-Makefile.in	Sat Nov 12 13:26:30 2016	(r425951)
@@ -1,11 +1,11 @@
---- Makefile.in.orig	2016-10-28 14:50:26 UTC
+--- Makefile.in.orig	2016-11-11 12:49:08 UTC
 +++ Makefile.in
-@@ -355,7 +355,7 @@ else
- 	@exit 1
- endif
+@@ -52,7 +52,7 @@ $(BUILDDIR)/config_host.mk : $(wildcard 
  
--distro-pack-install: install
-+distro-pack-install: install-strip
- 	$(SRCDIR)/bin/distro-install-clean-up
- 	$(SRCDIR)/bin/distro-install-desktop-integration
- 	$(SRCDIR)/bin/distro-install-sdk
+ else # MAKE_RESTARTS
+ 
+-all: check-if-root build
++all: build
+ 
+ check-if-root:
+ 	@if test `id -u` = 0; then \