aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2017-02-20 06:02:47 +0800
committerantoine <antoine@FreeBSD.org>2017-02-20 06:02:47 +0800
commit1d64cf95bee933eb33582c239483117c33a80234 (patch)
tree25bb3172012e5436683213146bf806e43b082f4f /devel
parent0f1593d85991957b79eddd87b11ee4161103074e (diff)
downloadfreebsd-ports-gnome-1d64cf95bee933eb33582c239483117c33a80234.tar.gz
freebsd-ports-gnome-1d64cf95bee933eb33582c239483117c33a80234.tar.zst
freebsd-ports-gnome-1d64cf95bee933eb33582c239483117c33a80234.zip
Allow staging as a regular user
Diffstat (limited to 'devel')
-rw-r--r--devel/lnphost/files/patch-Include-lnphost.h4
-rw-r--r--devel/lnphost/files/patch-Makefile15
2 files changed, 11 insertions, 8 deletions
diff --git a/devel/lnphost/files/patch-Include-lnphost.h b/devel/lnphost/files/patch-Include-lnphost.h
index 2e7a286a1863..4dd6e00a16b0 100644
--- a/devel/lnphost/files/patch-Include-lnphost.h
+++ b/devel/lnphost/files/patch-Include-lnphost.h
@@ -1,5 +1,5 @@
---- Include/lnphost.h.orig Sat Nov 20 14:22:00 2004
-+++ Include/lnphost.h Thu Sep 13 22:22:20 2007
+--- Include/lnphost.h.orig 2004-11-20 20:22:00 UTC
++++ Include/lnphost.h
@@ -21,6 +21,8 @@
#if defined(LINUX) || defined(linux)
diff --git a/devel/lnphost/files/patch-Makefile b/devel/lnphost/files/patch-Makefile
index 7465e0bd2402..754e1d46dffd 100644
--- a/devel/lnphost/files/patch-Makefile
+++ b/devel/lnphost/files/patch-Makefile
@@ -1,6 +1,6 @@
---- Makefile.orig Fri Mar 18 10:20:31 2005
-+++ Makefile Thu Sep 13 21:14:41 2007
-@@ -8,16 +8,20 @@
+--- Makefile.orig 2005-03-18 16:20:31 UTC
++++ Makefile
+@@ -8,16 +8,20 @@ else
endif
PROGRAMS=$(patsubst %.c,%$(EXT),$(wildcard *.c))
@@ -28,22 +28,25 @@
needroot:
@if [ ! $$UID -eq 0 ]; then \
-@@ -26,21 +30,27 @@
+@@ -25,22 +29,28 @@ needroot:
+ exit 1; \
fi
- install: all needroot
+-install: all needroot
- make -C Docs all
- install -g root -o root -m 644 Docs/lnpdump.1.gz $(MANDIR)
- install -g root -o root -m 755 lnpdump$(EXT) $(BINDIR)
++install: all
+ ${MAKE} -C Docs all
+ $(BSD_INSTALL_MAN) Docs/lnpdump.1 $(MANDIR)
+ $(BSD_INSTALL_PROGRAM) lnpdump$(EXT) $(BINDIR)
+ $(BSD_INSTALL_DATA) lnphost.a $(LIBDIR)
+ $(BSD_INSTALL_DATA) Include/lnphost.h $(INCDIR)
- remove: needroot
+-remove: needroot
- rm -f $(MANDIR)/lnpdump.1.gz
- rm -f $(BINDIR)/lnpdump$(EXT)
++remove:
+ ${RM} -f $(MANDIR)/lnpdump.1.gz
+ ${RM} -f $(BINDIR)/lnpdump$(EXT)
+ ${RM} -f $(LIBDIR)/lnphost.a