Date: Mon, 18 Mar 2002 14:28:46 +0100 (CET) From: Udo Schweigert <udo.schweigert@siemens.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: obrien@FreeBSD.org Subject: ports/36046: vim/vim-lite use libiconv without proper LIB_DEPENDS Message-ID: <200203181328.g2IDSkOE086016@reims.mchp.siemens.de>
next in thread | raw e-mail | index | archive | help
>Number: 36046 >Category: ports >Synopsis: vim/vim-lite use libiconv without proper LIB_DEPENDS >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Mar 18 05:30:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Udo Schweigert >Release: FreeBSD 4.5-STABLE i386 >Organization: >Environment: System: FreeBSD alaska.cert.siemens.de 4.5-STABLE FreeBSD 4.5-STABLE #54: Sun Mar 17 17:52:21 CET 2002 ust@alaska.cert.siemens.de:/usr/obj/work/src/RELENG_4/sys/alaska i386 >Description: After the upgrade of the libiconv to libiconv.3 (from libiconv.2) I realized that my vim-lite used libiconv.2 because libiconv was installed when I built vim-lite. Since libiconv.2 wasn't there anymore (it's now libiconv.3) vim complained about a missing libiconv.2. >How-To-Repeat: >Fix: There are two possible fixes: 1. Add a LIB_DEPEND to the Makefile of vim, thus always using libiconv: --- vim/Makefile.orig Mon Mar 11 06:05:25 2002 +++ vim/Makefile Mon Mar 18 14:02:21 2002 @@ -124,6 +124,7 @@ MAKE_ARGS+= CONF_OPT_GUI="--enable-gui=no --without-x --enable-multibyte" MAKE_ARGS+= CONF_OPT_PERL="--disable-perlinterp --disable-pythoninterp --disable-tclinterp --disable-rubyinterp" .endif # LITE +LIB_DEPENDS+= iconv.3:${PORTSDIR}/converters/libiconv # Until the bsd.gnome.mk people fix their damned file .if defined(WITH_GTK) or 2. Add a patch to the configure script not to use libiconv (unfortunately it is not configurable via a --without... option: --- vim/files/patch-02.orig Mon Nov 6 22:53:56 2000 +++ vim/files/patch-02 Mon Mar 18 14:17:48 2002 @@ -1,8 +1,32 @@ ---- auto/configure.orig Tue Oct 31 13:03:47 2000 -+++ auto/configure Mon Nov 6 11:26:36 2000 -@@ -3171 +3171 @@ +--- auto/configure.orig Sat Mar 9 19:14:07 2002 ++++ auto/configure Mon Mar 18 14:12:37 2002 +@@ -3420,11 +3420,11 @@ + + if test "x$gtk_config_prefix" != "x" ; then + gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix" - GTK_CONFIG=$gtk_config_prefix/bin/gtk-config + GTK_CONFIG=${GTK_CONFIG} -@@ -3175 +3175 @@ + fi + if test "x$gtk_config_exec_prefix" != "x" ; then + gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix" - GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config + GTK_CONFIG=${GTK_CONFIG} + fi + if test "X$GTK_CONFIG" = "X"; then + # Extract the first word of "gtk-config", so it can be a program name with args. +@@ -5927,7 +5927,6 @@ + if { (eval echo configure:5928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + echo "$ac_t""yes; with -liconv" 1>&6; cat >> confdefs.h <<\EOF +-#define HAVE_ICONV 1 + EOF + + else +@@ -5950,7 +5949,6 @@ + if { (eval echo configure:5951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF +-#define HAVE_ICONV 1 + EOF + + else >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203181328.g2IDSkOE086016>