diff options
author | jlam <jlam@pkgsrc.org> | 2001-06-20 18:59:37 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-06-20 18:59:37 +0000 |
commit | 7732303bf39a104713289c374f8a738bac1764fb (patch) | |
tree | b3a83045a94a2131a56b2cfcbaf09dc20e314a0d /editors/vim | |
parent | 9a2b1e355ed84a85f6d68894fbfd7ef841e02062 (diff) | |
download | pkgsrc-7732303bf39a104713289c374f8a738bac1764fb.tar.gz |
Convert to use buildlink.mk file for ncurses dependency and simplify
curses handling during configure process. Mark as USE_BUILDLINK_ONLY.
Diffstat (limited to 'editors/vim')
-rw-r--r-- | editors/vim/Makefile | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/editors/vim/Makefile b/editors/vim/Makefile index b8c93784bd6..46396e031fe 100644 --- a/editors/vim/Makefile +++ b/editors/vim/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.38 2001/06/11 06:34:32 jlam Exp $ +# $NetBSD: Makefile,v 1.39 2001/06/20 18:59:37 jlam Exp $ .include "../vim-share/Makefile.common" @@ -10,9 +10,10 @@ DEPENDS+= vim-share-${VIM_VERSION}:../vim-share CONFLICTS= vim-xaw-* vim-gtk-* -CONFIGURE_ARGS+= --enable-gui=no --without-x +USE_BUILDLINK_ONLY= # defined -USE_CURSES= yes +CONFIGURE_ARGS+= --enable-gui=no --without-x +CONFIGURE_ARGS+= --with-tlib=ncurses ALL_TARGET= vim INSTALL_TARGET= installvimbin @@ -23,14 +24,5 @@ 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 "../../mk/bsd.pkg.mk" |