Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Apr 2003 22:08:42 +0400 (MSD)
From:      "Leonid A. Lyamanov" <leonas@demos.su>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/51287: add-on for nagios
Message-ID:  <200304221808.h3MI8gKL001328@moscow80.demos.su>
Resent-Message-ID: <200304221810.h3MIA2WE039873@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         51287
>Category:       ports
>Synopsis:       add-on for nagios
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 22 11:10:01 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Leonid A. Lyamanov
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
>Environment:
System: FreeBSD moscow80.demos.su 4.8-STABLE FreeBSD 4.8-STABLE #0: Fri Apr 18 17:36:07 MSD 2003 leonas@moscow80.demos.su:/usr/obj/usr/src/sys/MOSCOW80 i386

>Description:
  This patch make possible build nagios port with gd2 library.
>How-To-Repeat:
  Correct or add appropriate line.
>Fix:

--- patch-Makefile begins here ---
--- Makefile.orig	Tue Apr 22 18:21:36 2003
+++ Makefile	Tue Apr 22 21:46:57 2003
@@ -7,7 +7,7 @@
 
 PORTNAME=	nagios
 PORTVERSION=	1.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	net
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=nagios
@@ -15,8 +15,12 @@
 MAINTAINER=	blaz@si.FreeBSD.org
 COMMENT=	Extremely powerful network monitoring system
 
-LIB_DEPENDS=	gd.2:${PORTSDIR}/graphics/gd \
-		gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
+.if defined(WITH_GD2)
+LIB_DEPENDS=    gd.4:${PORTSDIR}/graphics/gd2
+.else
+LIB_DEPENDS=	gd.2:${PORTSDIR}/graphics/gd
+.endif
+LIB_DEPENDS+=	gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
 RUN_DEPENDS=	${LOCALBASE}/libexec/nagios/check_nagios:${PORTSDIR}/net/nagios-plugins
 
 GNU_CONFIGURE=	yes
--- patch-Makefile ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304221808.h3MI8gKL001328>