ports/51287: add-on for nagios

Leonid A. Lyamanov leonas at demos.su
Tue Apr 22 18:10:03 UTC 2003


>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 at 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 at 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:



More information about the freebsd-ports-bugs mailing list