aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2016-11-12 21:26:30 +0800
committerbapt <bapt@FreeBSD.org>2016-11-12 21:26:30 +0800
commit60425dcdb9910b2150b25d4256dfca994556498a (patch)
treeca30ade1aaf4209c4579506623f82235bf0f32bd /editors
parent83c09bdb4adda1a275b7bdcc15b785696d7867c2 (diff)
downloadfreebsd-ports-gnome-60425dcdb9910b2150b25d4256dfca994556498a.tar.gz
freebsd-ports-gnome-60425dcdb9910b2150b25d4256dfca994556498a.tar.zst
freebsd-ports-gnome-60425dcdb9910b2150b25d4256dfca994556498a.zip
Allow to bulid as root
PR: 214440 Reported by: O. Hartmann <ohartmann@walstatt.org>
Diffstat (limited to 'editors')
-rw-r--r--editors/libreoffice/files/patch-Makefile.in18
1 files changed, 9 insertions, 9 deletions
diff --git a/editors/libreoffice/files/patch-Makefile.in b/editors/libreoffice/files/patch-Makefile.in
index b5bb0f95c29c..39b5fb6385a5 100644
--- a/editors/libreoffice/files/patch-Makefile.in
+++ b/editors/libreoffice/files/patch-Makefile.in
@@ -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 \