Date: Sun, 19 Feb 2017 22:02:47 +0000 (UTC) From: Antoine Brodin <antoine@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r434419 - head/devel/lnphost/files Message-ID: <201702192202.v1JM2lRu017333@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: antoine Date: Sun Feb 19 22:02:47 2017 New Revision: 434419 URL: https://svnweb.freebsd.org/changeset/ports/434419 Log: Allow staging as a regular user Modified: head/devel/lnphost/files/patch-Include-lnphost.h head/devel/lnphost/files/patch-Makefile Modified: head/devel/lnphost/files/patch-Include-lnphost.h ============================================================================== --- head/devel/lnphost/files/patch-Include-lnphost.h Sun Feb 19 22:01:41 2017 (r434418) +++ head/devel/lnphost/files/patch-Include-lnphost.h Sun Feb 19 22:02:47 2017 (r434419) @@ -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) Modified: head/devel/lnphost/files/patch-Makefile ============================================================================== --- head/devel/lnphost/files/patch-Makefile Sun Feb 19 22:01:41 2017 (r434418) +++ head/devel/lnphost/files/patch-Makefile Sun Feb 19 22:02:47 2017 (r434419) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702192202.v1JM2lRu017333>