summaryrefslogtreecommitdiff
path: root/editors/vim
diff options
context:
space:
mode:
authorwiz <wiz>2001-01-08 13:23:53 +0000
committerwiz <wiz>2001-01-08 13:23:53 +0000
commit15b7647ead9b89184d59c386d492dc5c168dc4e3 (patch)
treeb0c6c245c9a668d8ff9260a89218fb86000b4450 /editors/vim
parent04c97772997fcf36775c4c9093ab36036f70e417 (diff)
downloadpkgsrc-15b7647ead9b89184d59c386d492dc5c168dc4e3.tar.gz
Move special flags for ncurses in the NEED_NCURSES==YES case.
Diffstat (limited to 'editors/vim')
-rw-r--r--editors/vim/Makefile9
1 files changed, 4 insertions, 5 deletions
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