diff options
author | ohauer <ohauer@FreeBSD.org> | 2014-09-29 03:26:18 +0800 |
---|---|---|
committer | ohauer <ohauer@FreeBSD.org> | 2014-09-29 03:26:18 +0800 |
commit | faab4a09281346a41f23093bca6736ea07b1f4b4 (patch) | |
tree | 6d49ed543ed593dedc2e17a613ae7dc17b081fc8 /net-mgmt | |
parent | 99c486da1e06096136134543dcd97f8664086969 (diff) | |
download | freebsd-ports-gnome-faab4a09281346a41f23093bca6736ea07b1f4b4.tar.gz freebsd-ports-gnome-faab4a09281346a41f23093bca6736ea07b1f4b4.tar.zst freebsd-ports-gnome-faab4a09281346a41f23093bca6736ea07b1f4b4.zip |
- allow build without root
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/nagios-pf-plugin/Makefile | 4 | ||||
-rw-r--r-- | net-mgmt/nagios-pf-plugin/files/patch-Makefile | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/net-mgmt/nagios-pf-plugin/Makefile b/net-mgmt/nagios-pf-plugin/Makefile index 78bc92a29308..45c9160d3789 100644 --- a/net-mgmt/nagios-pf-plugin/Makefile +++ b/net-mgmt/nagios-pf-plugin/Makefile @@ -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> diff --git a/net-mgmt/nagios-pf-plugin/files/patch-Makefile b/net-mgmt/nagios-pf-plugin/files/patch-Makefile index c97439ec12fa..c43550e29c9d 100644 --- a/net-mgmt/nagios-pf-plugin/files/patch-Makefile +++ b/net-mgmt/nagios-pf-plugin/files/patch-Makefile @@ -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) |