Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jan 2003 07:01:44 +0900
From:      KATO Tsuguru <tkato@prontomail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/47487: Update port: sysutils/slmon
Message-ID:  <20030126070144.2fe972a5.tkato@prontomail.com>

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

>Number:         47487
>Category:       ports
>Synopsis:       Update port: sysutils/slmon
>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:   Sat Jan 25 14:10:11 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.7-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Convert to use libgtop2

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/sysutils/slmon/Makefile sysutils/slmon/Makefile
--- /usr/ports/sysutils/slmon/Makefile	Mon Nov 11 19:01:05 2002
+++ sysutils/slmon/Makefile	Fri Jan 24 09:40:23 2003
@@ -8,22 +8,29 @@
 
 PORTNAME=	slmon
 PORTVERSION=	0.5.11
+PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
 
 MAINTAINER=	ports@FreeBSD.org
 
-LIB_DEPENDS=	intl.4:${PORTSDIR}/devel/gettext \
-		gnugetopt.1:${PORTSDIR}/devel/libgnugetopt \
-		gtop.1:${PORTSDIR}/devel/libgtop \
+LIB_DEPENDS=	gtop-2.0.2:${PORTSDIR}/devel/libgtop2 \
 		slang.1:${PORTSDIR}/devel/libslang
 
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
-CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
-		LDFLAGS="-L${LOCALBASE}/lib -lncurses -lintl -lgnugetopt"
-MAN1=	slmon.1
+CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+
+MAN1=		slmon.1
+
+CPPFLAGS=	-I${LOCALBASE}/include
+LDFLAGS=	-L${LOCALBASE}/lib -lncurses
+
+.if !exists(/usr/include/getopt.h)
+LIB_DEPENDS+=	gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
+LDFLAGS+=	-lgnugetopt
+.endif
 
 .include <bsd.port.pre.mk>
 
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




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