From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jul 17 04:06:23 2008 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE8F6106566C for ; Thu, 17 Jul 2008 04:06:23 +0000 (UTC) (envelope-from yzlin@cs.nctu.edu.tw) Received: from csmailgate.cs.nctu.edu.tw (csmailgate.cs.nctu.edu.tw [140.113.235.103]) by mx1.freebsd.org (Postfix) with ESMTP id 74E058FC0C for ; Thu, 17 Jul 2008 04:06:23 +0000 (UTC) (envelope-from yzlin@cs.nctu.edu.tw) Received: from stucgi.cs.nctu.edu.tw (stucgi [140.113.235.130]) by csmailgate.cs.nctu.edu.tw (Postfix) with ESMTP id 33EA312B04A; Thu, 17 Jul 2008 11:47:52 +0800 (CST) Received: (from yzlin@localhost) by stucgi.cs.nctu.edu.tw (8.14.2/8.14.2/Submit) id m6H3ev3e075458; Thu, 17 Jul 2008 11:40:57 +0800 (CST) (envelope-from yzlin) Date: Thu, 17 Jul 2008 11:40:57 +0800 From: Yi-Jheng Lin To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org Message-ID: <20080717034057.GA75287@stucgi.cs.nctu.edu.tw> Mail-Followup-To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org References: <200807160639.m6G6derG021660@stucgi.cs.nctu.edu.tw> <200807160650.m6G6o0Vq085906@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <200807160650.m6G6o0Vq085906@freefall.freebsd.org> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Subject: Re: ports/125671: [PATCH] sysutils/htop: update to 0.8 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jul 2008 04:06:23 -0000 I modified the Makefile to auto-enable the Unicode support. --- htop-0.8.Makefile.patch begins here --- --- sysutils/htop/Makefile.orig 2008-02-07 03:01:32.000000000 +0800 +++ sysutils/htop/Makefile 2008-07-16 18:22:18.000000000 +0800 @@ -6,7 +6,7 @@ # PORTNAME= htop -PORTVERSION= 0.6.6 +PORTVERSION= 0.8 CATEGORIES= sysutils MASTER_SITES= SF @@ -16,10 +16,25 @@ NOT_FOR_ARCHS= sparc64 GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-proc=/compat/linux/proc +CONFIGURE_ARGS= --with-proc=/compat/linux/proc --enable-unicode +USE_AUTOTOOLS= autoconf:261 aclocal:19 automake:19 +ACLOCAL_ARGS= -I ${LOCALBASE}/share/aclocal + +USE_PYTHON_BUILD= yes + MAN1= htop.1 +.include + +.if ${OSVERSION} < 602107 || (${OSVERSION} > 700000 && ${OSVERSION} < 700033) +LIB_DEPENDS+= ncursesw.5:${PORTSDIR}/devel/ncurses +.endif + +post-patch: + @${REINPLACE_CMD} -e 's:/usr/bin/python:${LOCALBASE}/bin/python:' ${WRKSRC}/scripts/MakeHeader.py + pre-configure: @[ -f /compat/linux/proc/stat ] || { ${CAT} ${PKGMESSAGE}; ${FALSE}; } + cd ${WRKSRC} && ${ACLOCAL} -.include +.include --- htop-0.8.Makefile.patch ends here --- -- __ ________ ___ _ _ Name: 林宜政 Yi-Jheng, Lin \ \ / /__ / | |_ _| \ | | E-Mail: yzlin1985@gmail.com, yzlin@cs.nctu.edu.tw \ V / / /| | | || \| | MSN: tacolintacolin@hotmail.com | | / /_| |___ | || |\ | Web: http://blog.yzlin.org |_| /____|_____|___|_| \_| Flickr: http://www.flickr.com/photos/yzlin1985/