mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
- allow build without root
This commit is contained in:
parent
2f29c44dd3
commit
8efbf35f90
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=369495
@ -17,10 +17,10 @@ GH_TAGNAME= ${GH_COMMIT}
|
||||
GH_COMMIT= 2aba423
|
||||
|
||||
PLIST_FILES= libexec/nagios/check_pf
|
||||
PLIST_DIRS= libexec/nagios/
|
||||
PLIST_DIRS= libexec/nagios
|
||||
SUB_FILES= pkg-message
|
||||
|
||||
pre-su-install:
|
||||
pre-install:
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nagios
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,11 +1,11 @@
|
||||
--- Makefile.old 2014-04-06 14:08:46.000000000 -0500
|
||||
+++ Makefile 2014-04-06 14:08:47.000000000 -0500
|
||||
--- Makefile.orig 2012-07-30 18:13:57 UTC
|
||||
+++ Makefile
|
||||
@@ -14,7 +14,7 @@
|
||||
$(CC) $(CFLAGS) -o $(PROGRAM) $(PROGRAM).c
|
||||
|
||||
install:
|
||||
- install -m 755 -o root -g wheel $(PROGRAM) $(DESTDIR)/$(PROGRAM)
|
||||
+ install -m 755 -o root -g wheel $(PROGRAM) $(DESTDIR)/$(PREFIX)/libexec/nagios
|
||||
+ install -s -m 755 $(PROGRAM) $(DESTDIR)/$(PREFIX)/libexec/nagios
|
||||
|
||||
uninstall:
|
||||
rm -f $(DESTDIR)/$(PROGRAM)
|
||||
|
Loading…
Reference in New Issue
Block a user