From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Oct 8 11:40:36 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org 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 C7B5116A407 for ; Sun, 8 Oct 2006 11:40:36 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id F3A6543DAB for ; Sun, 8 Oct 2006 11:40:20 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k98BeKWx010336 for ; Sun, 8 Oct 2006 11:40:20 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k98BeKa8010335; Sun, 8 Oct 2006 11:40:20 GMT (envelope-from gnats) Resent-Date: Sun, 8 Oct 2006 11:40:20 GMT Resent-Message-Id: <200610081140.k98BeKa8010335@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Rong-En Fan Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 66CE716A4C9; Sun, 8 Oct 2006 11:32:47 +0000 (UTC) (envelope-from rafan@svm.csie.ntu.edu.tw) Received: from svm.csie.ntu.edu.tw (svm.csie.ntu.edu.tw [140.112.90.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 29B1743D4C; Sun, 8 Oct 2006 11:32:42 +0000 (GMT) (envelope-from rafan@svm.csie.ntu.edu.tw) Received: from svm.csie.ntu.edu.tw (localhost [127.0.0.1]) by svm.csie.ntu.edu.tw (8.13.8/8.13.8) with ESMTP id k98BWfuk060068; Sun, 8 Oct 2006 19:32:41 +0800 (CST) (envelope-from rafan@svm.csie.ntu.edu.tw) Received: (from rafan@localhost) by svm.csie.ntu.edu.tw (8.13.8/8.13.8/Submit) id k98BWfn6060067; Sun, 8 Oct 2006 19:32:41 +0800 (CST) (envelope-from rafan) Message-Id: <200610081132.k98BWfn6060067@svm.csie.ntu.edu.tw> Date: Sun, 8 Oct 2006 19:32:41 +0800 (CST) From: Rong-En Fan To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: obrien@FreeBSD.org Subject: ports/104156: [PATCH] editors/vim: WITH_ICONV knob, some portlint(1) cleanup 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: Sun, 08 Oct 2006 11:40:37 -0000 >Number: 104156 >Category: ports >Synopsis: [PATCH] editors/vim: WITH_ICONV knob, some portlint(1) cleanup >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: Sun Oct 08 11:40:20 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Rong-En Fan >Release: FreeBSD 6.2-PRERELEASE amd64 >Organization: NTU CSIE >Environment: >Description: - Add know WITH_ICONV to define USE_ICONV The current behavior is to auto-detect. However, some users, especially CJK ones, need convert between different encoding in vim. Thus iconv support is necessary for them. This know allow users to force vim to be compiled with iconv support instead of auto-detect. - Some portlint(1) cleanup Port maintainer (obrien@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- vim-7.0.94.patch begins here --- Index: Makefile =================================================================== RCS file: /big/freebsd-cvsup/ncvs/ports/editors/vim/Makefile,v retrieving revision 1.284 diff -u -u -r1.284 Makefile --- Makefile 10 Sep 2006 02:44:18 -0000 1.284 +++ Makefile 8 Oct 2006 11:30:34 -0000 @@ -38,7 +38,7 @@ USE_BZIP2= yes DIST_SUBDIR= vim WRKSRC= ${WRKDIR}/vim${PORTVERSION:C/\.[0-9]*$//:S/.//g}/src -PATCH_DIST_ARGS= -d ${WRKSRC:S/src$//} --batch --forward --quiet -E ${PATCH_DIST_STRIP} +PATCH_DIST_ARGS= -d ${WRKSRC:S/src$//} --batch --forward --quiet -E ${PATCH_DIST_STRIP} # consider #PATCH_DIST_ARGS= -t MAKE_ARGS+= CONF_ARGS="--prefix=${PREFIX} --with-tlib=termlib ${CSCOPE_ARG}" @@ -133,7 +133,7 @@ MAKE_ARGS+= CONF_OPT_PERL="--disable-perlinterp --disable-pythoninterp --disable-tclinterp --disable-rubyinterp" .endif # LITE -.if exists(${PREFIX}/lib/libiconv.so) +.if exists(${PREFIX}/lib/libiconv.so) || defined(WITH_ICONV) USE_ICONV= yes .endif @@ -144,10 +144,10 @@ s|\$$gtk_config_exec_prefix/bin/gtk-config|\$${GTK_CONFIG}|g; \ s|/usr/local|${LOCALBASE}|g' \ ${WRKSRC}/auto/configure -.if defined(WITH_XTERM_SAVE) - @${REINPLACE_CMD} -e ' \ +.if defined(WITH_XTERM_SAVE) + @${REINPLACE_CMD} -e ' \ s|/\* #define FEAT_XTERM_SAVE \*/|#define FEAT_XTERM_SAVE|g' \ - ${WRKSRC}/feature.h + ${WRKSRC}/feature.h .endif # Clean up junk files to keep them from being installed. @@ -190,7 +190,7 @@ | fgrep ${PORTVERSION:C/[0-9]*$//} | ${TAIL} find-bad-patches: - cd ${DISTDIR} ; egrep -l \ + cd ${DISTDIR} ; ${EGREP} -l \ '(src/os_win32|src/os_mswin|src/if_ole|src/proto/gui_w32|src/gui_w48|src/gui_mac|src/os_(riscos|cyg|os2|vms))'\ vim/${PORTVERSION:C/\.[0-9a-z]*$//}* --- vim-7.0.94.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: