aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/nagios12/Makefile
diff options
context:
space:
mode:
authorFUJISHIMA Satsuki <sf@FreeBSD.org>2003-07-14 02:53:03 +0000
committerFUJISHIMA Satsuki <sf@FreeBSD.org>2003-07-14 02:53:03 +0000
commitb185046be2ec03555daaf4f26d38542c403a9955 (patch)
tree0274ce607614533de66837fc1f70d4c35770d9e1 /net-mgmt/nagios12/Makefile
parent88d002074007544d532f2495aeb93729291e6275 (diff)
downloadports-b185046be2ec03555daaf4f26d38542c403a9955.tar.gz
ports-b185046be2ec03555daaf4f26d38542c403a9955.zip
Notes
Diffstat (limited to 'net-mgmt/nagios12/Makefile')
-rw-r--r--net-mgmt/nagios12/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/net-mgmt/nagios12/Makefile b/net-mgmt/nagios12/Makefile
index f427cd1dfd07..05ebe1bb238e 100644
--- a/net-mgmt/nagios12/Makefile
+++ b/net-mgmt/nagios12/Makefile
@@ -7,6 +7,7 @@
PORTNAME= nagios
PORTVERSION= 1.1
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=nagios
@@ -15,17 +16,20 @@ MAINTAINER= blaz@si.FreeBSD.org
COMMENT= Extremely powerful network monitoring system
.if defined(WITH_GD2)
-LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd2
+LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd2
.else
LIB_DEPENDS= gd1.2:${PORTSDIR}/graphics/gd
.endif
-LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:${PORTSDIR}/net/nagios-plugins
+USE_GETOPT_LONG=yes
GNU_CONFIGURE= yes
-CONFIGURE_ENV= CPPFLAGS="${INCGD} -I${LOCALBASE}/include" \
- CFLAGS="${CFLAGS} ${INCGD} -I${LOCALBASE}/include" \
- LIBS="-L${LOCALBASE}/lib ${LIBGD} -lgnugetopt"
+
+CPPFLAGS= ${INCGD} -I${LOCALBASE}/include
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \
+ LDFLAGS="${LDFLAGS}" \
+ CFLAGS="${CFLAGS} ${INCGD}" \
+ LIBS="-L${LOCALBASE}/lib ${LIBGD}"
CONFIGURE_ARGS= --with-command-user=nagios \
--with-command-grp=www \
--with-nagios-user=nagios \