diff options
author | sf <sf@FreeBSD.org> | 2003-07-14 10:53:03 +0800 |
---|---|---|
committer | sf <sf@FreeBSD.org> | 2003-07-14 10:53:03 +0800 |
commit | 971087c2b4d6b0b917e3fac3ac1334b04f7c9907 (patch) | |
tree | 7181a8316bbb1b7be4386d9173b3c6ace07025da /net-mgmt/nagios12 | |
parent | 0cc85c09b55a7d94ca1d7c16c8eedae091f2840c (diff) | |
download | freebsd-ports-gnome-971087c2b4d6b0b917e3fac3ac1334b04f7c9907.tar.gz freebsd-ports-gnome-971087c2b4d6b0b917e3fac3ac1334b04f7c9907.tar.zst freebsd-ports-gnome-971087c2b4d6b0b917e3fac3ac1334b04f7c9907.zip |
get rid of libgnugetopt dependency for -CURRENT,
use USE_GETOPT_LONG instead.
Diffstat (limited to 'net-mgmt/nagios12')
-rw-r--r-- | net-mgmt/nagios12/Makefile | 14 |
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 \ |