summaryrefslogtreecommitdiff
path: root/editors/vim/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'editors/vim/Makefile')
-rw-r--r--editors/vim/Makefile14
1 files changed, 11 insertions, 3 deletions
diff --git a/editors/vim/Makefile b/editors/vim/Makefile
index 267bc0ae3a1..ecae9f868e6 100644
--- a/editors/vim/Makefile
+++ b/editors/vim/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.22 1999/11/22 08:49:12 tron Exp $
+# $NetBSD: Makefile,v 1.23 1999/11/25 20:20:32 tron Exp $
DISTNAME= vim-5.5
-WRKSRC= ${WRKDIR}/${DISTNAME}/src
CATEGORIES= editors
MASTER_SITES= ftp://ftp.vim.org/pub/editors/vim/unix/ \
ftp://ftp.nuxi.com/pub/vim/unix/ \
@@ -18,15 +17,24 @@ CONFLICTS= vim-gtk-*
GNU_CONFIGURE= yes
USE_X11= yes
+USE_XAW= yes
CONFIGURE_ARGS+= --enable-gui=athena --with-tlib=ncurses
CPPFLAGS+= -I${LOCALBASE}/include # for ncurses' termcap.h
LDFLAGS+= -L${LOCALBASE}/lib # for -lncurses
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
+WRKSRC= ${WRKDIR}/${DISTNAME}/src
+
.include "../../mk/bsd.prefs.mk"
-.if ${OPSYS} == "NetBSD"
+.if (${OPSYS} == "NetBSD")
DEPENDS= ncurses-4.2:../../devel/ncurses
.endif
+.if (${XAW_TYPE} == "standard")
+MAKE_ENV+= XAW_LIB=Xaw
+.else
+MAKE_ENV+= XAW_LIB=Xaw3d
+.endif
+
.include "../../mk/bsd.pkg.mk"