aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/nagios
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-11-18 08:30:00 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-11-18 12:29:52 +0000
commit0eae56127aa07f139d941688b0ba07df333f3637 (patch)
tree448f77f098a2a280cc5828599f4fa299739558b6 /net-mgmt/nagios
parent4f698c44ee8be9017a07ba9a2b14c9d766ea005b (diff)
downloadports-0eae56127aa07f139d941688b0ba07df333f3637.tar.gz
ports-0eae56127aa07f139d941688b0ba07df333f3637.zip
Diffstat (limited to 'net-mgmt/nagios')
-rw-r--r--net-mgmt/nagios/Makefile6
-rw-r--r--net-mgmt/nagios/pkg-plist4
2 files changed, 3 insertions, 7 deletions
diff --git a/net-mgmt/nagios/Makefile b/net-mgmt/nagios/Makefile
index 7b45efd48838..87d9812dc262 100644
--- a/net-mgmt/nagios/Makefile
+++ b/net-mgmt/nagios/Makefile
@@ -15,7 +15,7 @@ LIB_DEPENDS= libltdl.so:devel/libltdl \
PORTSCOUT= limit:^3.
-USES= cpe perl5 php
+USES= cpe localbase perl5 php
USE_PERL5= build
USE_RC_SUBR= nagios
@@ -39,10 +39,6 @@ CONFIGURE_ARGS= --with-command-user=${NAGIOSUSER} \
ac_cv_lib_iconv_main=no
CONFIGURE_ENV= PERL=${PERL}
-CPPFLAGS+= -I${LOCALBASE}/include
-CFLAGS+= ${CPPFLAGS}
-LIBS+= -L${LOCALBASE}/lib
-
MAKE_JOBS_UNSAFE= yes
INSTALL_TARGET= install install-commandmode install-config
diff --git a/net-mgmt/nagios/pkg-plist b/net-mgmt/nagios/pkg-plist
index cc15d8d5166d..8d631a192f0f 100644
--- a/net-mgmt/nagios/pkg-plist
+++ b/net-mgmt/nagios/pkg-plist
@@ -379,5 +379,5 @@ etc/nagios/resource.cfg-sample
@dir(%%NAGIOSUSER%%,%%NAGIOSGROUP%%,775) %%NAGIOSDIR%%/checkresults
@dir(%%NAGIOSUSER%%,%%WWWGRP%%,775) %%NAGIOSDIR%%/rw
@dir(%%NAGIOSUSER%%,%%NAGIOSGROUP%%,775) %%NAGIOSDIR%%
-@unexec if [ -d %%NAGIOSDIR%% ]; then echo "==> If you are permanently removing this port, you should do a ``rm -rf %%NAGIOSDIR%%`` to remove any files left behind."; fi
-@unexec if [ -d %%ETCDIR%% ]; then echo "==> If you are permanently removing this port, you should do a ``rm -rf %%ETCDIR%%`` to remove any configuration files."; fi
+@postunexec if [ -d %%NAGIOSDIR%% ]; then echo "==> If you are permanently removing this port, you should do a ``rm -rf %%NAGIOSDIR%%`` to remove any files left behind."; fi
+@postunexec if [ -d %%ETCDIR%% ]; then echo "==> If you are permanently removing this port, you should do a ``rm -rf %%ETCDIR%%`` to remove any configuration files."; fi