diff options
-rw-r--r-- | editors/vim-gtk/Makefile | 9 | ||||
-rw-r--r-- | editors/vim-xaw/Makefile | 9 | ||||
-rw-r--r-- | editors/vim/Makefile | 9 |
3 files changed, 12 insertions, 15 deletions
diff --git a/editors/vim-gtk/Makefile b/editors/vim-gtk/Makefile index 91a9dae74d2..d4f4bdb3fce 100644 --- a/editors/vim-gtk/Makefile +++ b/editors/vim-gtk/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2000/11/02 03:25:32 wiz Exp $ +# $NetBSD: Makefile,v 1.19 2001/01/08 13:23:54 wiz Exp $ .include "../vim-share/Makefile.common" @@ -14,9 +14,6 @@ USE_X11= yes USE_CURSES= yes CONFIGURE_ARGS+= --enable-gui=gtk -CPPFLAGS+= -I${LOCALBASE}/include # for ncurses' termcap.h -LDFLAGS+= -L${LOCALBASE}/lib # for -lncurses -CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" ALL_TARGET= vim INSTALL_TARGET= installvimbin @@ -35,8 +32,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 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 diff --git a/editors/vim/Makefile b/editors/vim/Makefile index 89b4352a043..c83917354ad 100644 --- a/editors/vim/Makefile +++ b/editors/vim/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.35 2000/11/02 03:25:33 wiz Exp $ +# $NetBSD: Makefile,v 1.36 2001/01/08 13:23:53 wiz Exp $ .include "../vim-share/Makefile.common" @@ -9,9 +9,6 @@ DEPENDS+= vim-share-${VIM_VERSION}:../vim-share CONFLICTS= vim-xaw-* vim-gtk-* CONFIGURE_ARGS+= --enable-gui=no --without-x -CPPFLAGS+= -I${LOCALBASE}/include # for ncurses' termcap.h -LDFLAGS+= -L${LOCALBASE}/lib # for -lncurses -CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" USE_CURSES= yes @@ -28,8 +25,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 |