From owner-freebsd-ports-bugs Sat Jan 25 14:10:51 2003 Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 08DA737B40B for ; Sat, 25 Jan 2003 14:10:30 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F3EC43F6D for ; Sat, 25 Jan 2003 14:10:12 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h0PMACNS021131 for ; Sat, 25 Jan 2003 14:10:12 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h0PMACWR021130; Sat, 25 Jan 2003 14:10:12 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 97D9237B405 for ; Sat, 25 Jan 2003 14:02:12 -0800 (PST) Received: from socigeog.hmt.toyama-u.ac.jp (socigeog.hmt.toyama-u.ac.jp [160.26.63.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9CC6143F6B for ; Sat, 25 Jan 2003 14:02:09 -0800 (PST) (envelope-from tkato@prontomail.com) Received: from localhost (localhost [127.0.0.1]) by socigeog.hmt.toyama-u.ac.jp (Postfix) with SMTP id 75DDF9B4 for ; Sun, 26 Jan 2003 07:02:07 +0900 (JST) Message-Id: <20030126070144.2fe972a5.tkato@prontomail.com> Date: Sun, 26 Jan 2003 07:01:44 +0900 From: KATO Tsuguru To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/47487: Update port: sysutils/slmon Sender: owner-freebsd-ports-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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 >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports-bugs" in the body of the message