From rafan@svm.csie.ntu.edu.tw Sun Oct 8 11:32:47 2006 Return-Path: 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 Cc: obrien@freebsd.org Subject: [PATCH] editors/vim: WITH_ICONV knob, some portlint(1) cleanup X-Send-Pr-Version: 3.113 X-GNATS-Notify: >Number: 104156 >Category: ports >Synopsis: [PATCH] editors/vim: WITH_ICONV knob, some portlint(1) cleanup >Confidential: no >Severity: non-critical >Priority: low >Responsible: rafan >State: closed >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Oct 08 11:40:20 GMT 2006 >Closed-Date: Fri Apr 06 14:46:57 GMT 2007 >Last-Modified: Fri Apr 06 14:46:57 GMT 2007 >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: Responsible-Changed-From-To: freebsd-ports-bugs->obrien Responsible-Changed-By: edwin Responsible-Changed-When: Sun Oct 8 11:40:45 UTC 2006 Responsible-Changed-Why: Over to maintainer http://www.freebsd.org/cgi/query-pr.cgi?pr=104156 Responsible-Changed-From-To: obrien->rafan Responsible-Changed-By: erwin Responsible-Changed-When: Sat Dec 30 21:38:06 UTC 2006 Responsible-Changed-Why: Maintainer timeout. Reassign to originator. http://www.freebsd.org/cgi/query-pr.cgi?pr=104156 State-Changed-From-To: open->closed State-Changed-By: rafan State-Changed-When: Fri Apr 6 14:46:55 UTC 2007 State-Changed-Why: Close. http://www.freebsd.org/cgi/query-pr.cgi?pr=104156 >Unformatted: