From 15b7647ead9b89184d59c386d492dc5c168dc4e3 Mon Sep 17 00:00:00 2001 From: wiz Date: Mon, 8 Jan 2001 13:23:53 +0000 Subject: Move special flags for ncurses in the NEED_NCURSES==YES case. --- editors/vim-xaw/Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'editors/vim-xaw') diff --git a/editors/vim-xaw/Makefile b/editors/vim-xaw/Makefile index 4646111f618..3d01df0f71a 100644 --- a/editors/vim-xaw/Makefile +++ b/editors/vim-xaw/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2000/11/02 03:25:33 wiz Exp $ +# $NetBSD: Makefile,v 1.10 2001/01/08 13:23:54 wiz Exp $ .include "../vim-share/Makefile.common" @@ -12,9 +12,6 @@ USE_XAW= yes USE_CURSES= yes CONFIGURE_ARGS+= --enable-gui=athena -CPPFLAGS+= -I${LOCALBASE}/include # for ncurses' termcap.h -LDFLAGS+= -L${LOCALBASE}/lib # for -lncurses -CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" ALL_TARGET= vim INSTALL_TARGET= installvimbin @@ -33,8 +30,10 @@ post-install: .if ${NEED_NCURSES} == "YES" CONFIGURE_ARGS+= --with-tlib=ncurses +CPPFLAGS+= -I${LOCALBASE}/include # for ncurses' termcap.h +LDFLAGS+= -L${LOCALBASE}/lib # for -lncurses +CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" .else -CPPFLAGS= CONFIGURE_ARGS+= --with-tlib=curses .endif -- cgit v1.2.3