pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/editors + Remove the check for whether you can remove ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dbcf20dbc9fa
branches:  trunk
changeset: 539283:dbcf20dbc9fa
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sun Mar 02 16:01:31 2008 +0000

description:
+ Remove the check for whether you can remove -liconv from the linker
  command line or not -- we want to do what the user specifies via
  the pkgsrc PREFER_* settings.

+ Drop dependency on ncurses -- vim only wants a termcap library.
  This should fix PR pkg/38110.

+ Add missing dependency on gettext-lib as one of the "normal" feature
  sets is to build with gettext and multi-language support.

Bump the PKGREVISION of vim editor packages to 1.

diffstat:

 editors/vim-gtk/Makefile           |  10 ++++++----
 editors/vim-gtk2/Makefile          |  10 ++++++----
 editors/vim-kde/Makefile           |  10 ++++++----
 editors/vim-motif/Makefile         |  11 ++++++-----
 editors/vim-share/distinfo         |   3 ++-
 editors/vim-share/patches/patch-af |  13 +++++++++++++
 editors/vim-xaw/Makefile           |  11 ++++++-----
 editors/vim/Makefile               |   9 +++++----
 8 files changed, 50 insertions(+), 27 deletions(-)

diffs (234 lines):

diff -r 5f66137bd840 -r dbcf20dbc9fa editors/vim-gtk/Makefile
--- a/editors/vim-gtk/Makefile  Sun Mar 02 15:51:42 2008 +0000
+++ b/editors/vim-gtk/Makefile  Sun Mar 02 16:01:31 2008 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.57 2008/01/09 13:47:43 martti Exp $
+# $NetBSD: Makefile,v 1.58 2008/03/02 16:01:32 jlam Exp $
 
 PKGNAME=               vim-gtk-${VIM_VERSION}.${VIM_PATCHLEVEL}
-#PKGREVISION=          1
+PKGREVISION=           1
 
 COMMENT=               Vim editor (vi clone) with X11 GTK+ GUI
 
@@ -14,7 +14,7 @@
 CONFLICTS+=            vim-xaw-[0-9]* vim-kde-[0-9]*
 
 CONFIGURE_ARGS+=       --enable-gui=gtk
-CONFIGURE_ARGS+=       --with-tlib=ncurses
+CONFIGURE_ARGS+=       --with-tlib=${BUILDLINK_LIBNAME.termcap}
 
 BUILD_TARGET=          vim
 INSTALL_TARGET=                installvimbin
@@ -34,8 +34,10 @@
        ${LN} -s vim ${DESTDIR}${PREFIX}/bin/${f}
 .endfor
 
-.include "../../devel/ncurses/buildlink3.mk"
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../x11/libXpm/buildlink3.mk"
 .include "../../x11/gtk/buildlink3.mk"
 
+.include "../../mk/termcap.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 5f66137bd840 -r dbcf20dbc9fa editors/vim-gtk2/Makefile
--- a/editors/vim-gtk2/Makefile Sun Mar 02 15:51:42 2008 +0000
+++ b/editors/vim-gtk2/Makefile Sun Mar 02 16:01:31 2008 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.28 2008/01/09 13:47:43 martti Exp $
+# $NetBSD: Makefile,v 1.29 2008/03/02 16:01:32 jlam Exp $
 
 PKGNAME=               vim-gtk2-${VIM_VERSION}.${VIM_PATCHLEVEL}
-#PKGREVISION=          1
+PKGREVISION=           1
 
 COMMENT=               Vim editor (vi clone) with X11 GTK2 GUI
 
@@ -14,7 +14,7 @@
 CONFLICTS+=            vim-xaw-[0-9]* vim-kde-[0-9]*
 
 CONFIGURE_ARGS+=       --enable-gui=gtk2
-CONFIGURE_ARGS+=       --with-tlib=ncurses
+CONFIGURE_ARGS+=       --with-tlib=${BUILDLINK_LIBNAME.termcap}
 
 USE_TOOLS+=            pkg-config
 
@@ -36,9 +36,11 @@
        ${LN} -s vim ${DESTDIR}${PREFIX}/bin/${f}
 .endfor
 
-.include "../../devel/ncurses/buildlink3.mk"
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../x11/libXpm/buildlink3.mk"
 .include "../../x11/libXt/buildlink3.mk"
 .include "../../x11/gtk2/buildlink3.mk"
 
+.include "../../mk/termcap.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 5f66137bd840 -r dbcf20dbc9fa editors/vim-kde/Makefile
--- a/editors/vim-kde/Makefile  Sun Mar 02 15:51:42 2008 +0000
+++ b/editors/vim-kde/Makefile  Sun Mar 02 16:01:31 2008 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.50 2008/01/18 05:06:32 tnn Exp $
+# $NetBSD: Makefile,v 1.51 2008/03/02 16:01:32 jlam Exp $
 
 DISTNAME=      kvim-${KVIM_VERSION}
 PKGNAME=       vim-kde-${KVIM_VERSION}
-PKGREVISION=   15
+PKGREVISION=   16
 CATEGORIES=    editors kde
 MASTER_SITES=  ${MASTER_SITE_KDE:=apps/KDE3.x/utils/}
 EXTRACT_SUFX=  .tar.bz2
@@ -27,15 +27,17 @@
 CONFIGURE_ARGS+=       --enable-gui=kde
 CONFIGURE_ARGS+=       --enable-kde-toolbar
 CONFIGURE_ARGS+=       --with-features=huge
-CONFIGURE_ARGS+=       --with-tlib=ncurses
+CONFIGURE_ARGS+=       --with-tlib=${BUILDLINK_LIBNAME.termcap}
 
 post-configure:
        ${TOUCH} ${WRKSRC}/auto/configure ${WRKSRC}/auto/config.mk
 
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../meta-pkgs/kde3/kde3.mk"
-.include "../../devel/ncurses/buildlink3.mk"
 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"
 .include "../../x11/kdebase3/buildlink3.mk"
 .include "../../x11/kdelibs3/buildlink3.mk"
 .include "../../x11/libXt/buildlink3.mk"
+.include "../../mk/termcap.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 5f66137bd840 -r dbcf20dbc9fa editors/vim-motif/Makefile
--- a/editors/vim-motif/Makefile        Sun Mar 02 15:51:42 2008 +0000
+++ b/editors/vim-motif/Makefile        Sun Mar 02 16:01:31 2008 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.26 2008/01/09 13:47:43 martti Exp $
+# $NetBSD: Makefile,v 1.27 2008/03/02 16:01:32 jlam Exp $
 
 PKGNAME=               vim-motif-${VIM_VERSION}.${VIM_PATCHLEVEL}
-#PKGREVISION=          1
+PKGREVISION=           1
 
 COMMENT=               Vim editor (vi clone) with X11 Motif GUI
 
@@ -14,7 +14,7 @@
 CONFLICTS+=            vim-xaw-[0-9]* vim-kde-[0-9]*
 
 CONFIGURE_ARGS+=       --enable-gui=motif
-CONFIGURE_ARGS+=       --with-tlib=ncurses
+CONFIGURE_ARGS+=       --with-tlib=${BUILDLINK_LIBNAME.termcap}
 
 CONFIGURE_ENV+=                BUILDLINK_DIR=${BUILDLINK_DIR}
 MAKE_ENV+=             BUILDLINK_DIR=${BUILDLINK_DIR}
@@ -37,8 +37,9 @@
        ${LN} -s vim ${DESTDIR}${PREFIX}/bin/${f}
 .endfor
 
-.include "../../devel/ncurses/buildlink3.mk"
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../x11/libXpm/buildlink3.mk"
 .include "../../mk/motif.buildlink3.mk"
-
+.include "../../mk/termcap.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 5f66137bd840 -r dbcf20dbc9fa editors/vim-share/distinfo
--- a/editors/vim-share/distinfo        Sun Mar 02 15:51:42 2008 +0000
+++ b/editors/vim-share/distinfo        Sun Mar 02 16:01:31 2008 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.92 2008/02/15 06:36:10 martti Exp $
+$NetBSD: distinfo,v 1.93 2008/03/02 16:01:32 jlam Exp $
 
 SHA1 (vim/7.1.001-100.gz) = 6571772fb45d8b5a28fa7cdee5c131555ac3bb48
 RMD160 (vim/7.1.001-100.gz) = 65aebf5446773169d077f49dcee1e29ea0457cc4
@@ -174,4 +174,5 @@
 SHA1 (patch-aa) = 30fe8e0b6b117c0d14f7e272b28f3100f3e7bc01
 SHA1 (patch-ab) = 6d27ed09cb741313e57b3550e62977797f7b285e
 SHA1 (patch-ad) = 64a58a538f8f48b4db7416b4ffec081ed6625329
+SHA1 (patch-af) = 0b43a34040bd0ce29f358119b2eaa777914ed6b6
 SHA1 (patch-zb) = d52bdc3b77c30c804e78c2c6a4182fad8096c9f0
diff -r 5f66137bd840 -r dbcf20dbc9fa editors/vim-share/patches/patch-af
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/vim-share/patches/patch-af        Sun Mar 02 16:01:31 2008 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.1 2008/03/02 16:01:32 jlam Exp $
+
+--- src/link.sh.orig   2006-09-26 05:22:11.000000000 -0400
++++ src/link.sh
+@@ -41,7 +41,7 @@ else
+   if sh link.cmd; then
+     touch auto/link.sed
+     cp link.cmd linkit.sh
+-    for libname in SM ICE nsl dnet dnet_stub inet socket dir elf iconv Xt Xmu Xp Xpm X11 Xdmcp x w dl pthread thread readline m perl crypt attr; do
++    for libname in SM ICE nsl dnet dnet_stub inet socket dir elf Xt Xmu Xp Xpm X11 Xdmcp x w dl pthread thread readline m perl crypt attr; do
+       cont=yes
+       while test -n "$cont"; do
+         if grep "l$libname " linkit.sh >/dev/null; then
diff -r 5f66137bd840 -r dbcf20dbc9fa editors/vim-xaw/Makefile
--- a/editors/vim-xaw/Makefile  Sun Mar 02 15:51:42 2008 +0000
+++ b/editors/vim-xaw/Makefile  Sun Mar 02 16:01:31 2008 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.46 2008/01/09 13:47:43 martti Exp $
+# $NetBSD: Makefile,v 1.47 2008/03/02 16:01:32 jlam Exp $
 
 PKGNAME=               vim-xaw-${VIM_VERSION}.${VIM_PATCHLEVEL}
-#PKGREVISION=          1
+PKGREVISION=           1
 
 COMMENT=               Vim editor (vi clone) with X11 Athena GUI
 
@@ -14,7 +14,7 @@
 CONFLICTS+=            vim-motif-[0-9]* vim-kde-[0-9]*
 
 CONFIGURE_ARGS+=       --enable-gui=athena
-CONFIGURE_ARGS+=       --with-tlib=ncurses
+CONFIGURE_ARGS+=       --with-tlib=${BUILDLINK_LIBNAME.termcap}
 
 BUILD_TARGET=          vim
 INSTALL_TARGET=                installvimbin
@@ -45,8 +45,9 @@
        ${LN} -s vim ${DESTDIR}${PREFIX}/bin/${f}
 .endfor
 
-.include "../../devel/ncurses/buildlink3.mk"
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../x11/libXpm/buildlink3.mk"
 .include "../../mk/xaw.buildlink3.mk"
-
+.include "../../mk/termcap.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 5f66137bd840 -r dbcf20dbc9fa editors/vim/Makefile
--- a/editors/vim/Makefile      Sun Mar 02 15:51:42 2008 +0000
+++ b/editors/vim/Makefile      Sun Mar 02 16:01:31 2008 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.67 2008/01/09 13:47:42 martti Exp $
+# $NetBSD: Makefile,v 1.68 2008/03/02 16:01:31 jlam Exp $
 
 PKGNAME=               vim-${VIM_VERSION}.${VIM_PATCHLEVEL}
-#PKGREVISION=          1
+PKGREVISION=           1
 
 COMMENT=               Vim editor (vi clone) without GUI
 
@@ -15,7 +15,7 @@
 CONFLICTS+=            vim-xaw-[0-9]* vim-kde-[0-9]*
 
 CONFIGURE_ARGS+=       --enable-gui=no --without-x
-CONFIGURE_ARGS+=       --with-tlib=ncurses
+CONFIGURE_ARGS+=       --with-tlib=${BUILDLINK_LIBNAME.termcap}
 
 BUILD_TARGET=          vim
 INSTALL_TARGET=                installvimbin
@@ -27,6 +27,7 @@
        ${LN} -s vim ${DESTDIR}${PREFIX}/bin/${f}
 .endfor
 
-.include "../../devel/ncurses/buildlink3.mk"
 .include "../../converters/libiconv/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../mk/termcap.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index