summaryrefslogtreecommitdiff
path: root/editors/vim-gtk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-06-20 19:57:48 +0000
committerjlam <jlam@pkgsrc.org>2001-06-20 19:57:48 +0000
commit92e537c42b3cb5a6d8d3f78ac5b8e3cdae61bc1b (patch)
tree361f367cb2e3bab0ad58dbf4411f2b31b123470f /editors/vim-gtk
parenta4d2df0fc57a5e20a4a1c9b9a87a855de632bd33 (diff)
downloadpkgsrc-92e537c42b3cb5a6d8d3f78ac5b8e3cdae61bc1b.tar.gz
Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY.
Diffstat (limited to 'editors/vim-gtk')
-rw-r--r--editors/vim-gtk/Makefile19
1 files changed, 6 insertions, 13 deletions
diff --git a/editors/vim-gtk/Makefile b/editors/vim-gtk/Makefile
index 57a32dc73bb..db2cc3e593b 100644
--- a/editors/vim-gtk/Makefile
+++ b/editors/vim-gtk/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2001/06/11 06:34:31 jlam Exp $
+# $NetBSD: Makefile,v 1.22 2001/06/20 20:03:04 jlam Exp $
.include "../vim-share/Makefile.common"
@@ -7,15 +7,16 @@ PKGNAME= vim-gtk-${VIM_VERSION}
COMMENT= Vim editor (vi clone) with X11 GTK+ GUI
DEPENDS+= vim-share-${VIM_VERSION}:../vim-share
-DEPENDS+= gtk+-1.2.*:../../x11/gtk
CONFLICTS= vim-[0-9]* vim-xaw-*
DISTFILES+= ${DISTNAME}-rt${EXTRACT_SUFX}
USE_X11= yes
-USE_CURSES= yes
+USE_BUILDLINK_ONLY= yes
+USE_CONFIG_WRAPPER= yes
CONFIGURE_ARGS+= --enable-gui=gtk
+CONFIGURE_ARGS+= --with-tlib=ncurses
ALL_TARGET= vim
INSTALL_TARGET= installvimbin
@@ -30,14 +31,6 @@ post-install:
${LN} -s vim ${PREFIX}/bin/$$f; \
done
-.include "../../mk/bsd.prefs.mk"
-
-.if ${NEED_NCURSES} == "YES"
-CONFIGURE_ARGS+= --with-tlib=ncurses
-CPPFLAGS+= -I${LOCALBASE}/include # for ncurses' termcap.h
-LDFLAGS+= -L${LOCALBASE}/lib # for -lncurses
-.else
-CONFIGURE_ARGS+= --with-tlib=curses
-.endif
-
+.include "../../devel/ncurses/buildlink.mk"
+.include "../../x11/gtk/buildlink.mk"
.include "../../mk/bsd.pkg.mk"