diff options
author | wiz <wiz> | 2001-01-08 13:23:53 +0000 |
---|---|---|
committer | wiz <wiz> | 2001-01-08 13:23:53 +0000 |
commit | 15b7647ead9b89184d59c386d492dc5c168dc4e3 (patch) | |
tree | b0c6c245c9a668d8ff9260a89218fb86000b4450 /editors/vim-gtk | |
parent | 04c97772997fcf36775c4c9093ab36036f70e417 (diff) | |
download | pkgsrc-15b7647ead9b89184d59c386d492dc5c168dc4e3.tar.gz |
Move special flags for ncurses in the NEED_NCURSES==YES case.
Diffstat (limited to 'editors/vim-gtk')
-rw-r--r-- | editors/vim-gtk/Makefile | 9 |
1 files changed, 4 insertions, 5 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 |