diff options
author | jlam <jlam> | 2001-06-20 18:59:37 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-06-20 18:59:37 +0000 |
commit | 5ef5f24a6820d0f1fd22962c0dd076d3c0ea61a6 (patch) | |
tree | b3a83045a94a2131a56b2cfcbaf09dc20e314a0d /editors | |
parent | a087a18306cebb70e48a1d191a558eed7dcfb65b (diff) | |
download | pkgsrc-5ef5f24a6820d0f1fd22962c0dd076d3c0ea61a6.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')
-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" |