diff options
author | pooka <pooka> | 2000-02-18 14:37:43 +0000 |
---|---|---|
committer | pooka <pooka> | 2000-02-18 14:37:43 +0000 |
commit | e4126dbe776b7e31effdc0486d7a0f196ec7adcb (patch) | |
tree | 105b03030f1622605db13a112957d35eb05eb847 /editors/vim/Makefile | |
parent | b29bb665b7785f53649a1bbdeb9d21ececebef6f (diff) | |
download | pkgsrc-e4126dbe776b7e31effdc0486d7a0f196ec7adcb.tar.gz |
Do the same here that was done for vim-gtk, ie. fix solaris curses handling
and modify post-install into a tidy loop.
Diffstat (limited to 'editors/vim/Makefile')
-rw-r--r-- | editors/vim/Makefile | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/editors/vim/Makefile b/editors/vim/Makefile index 1d8cbc4aa02..31181a43bed 100644 --- a/editors/vim/Makefile +++ b/editors/vim/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.31 2000/01/25 17:13:14 pooka Exp $ +# $NetBSD: Makefile,v 1.32 2000/02/18 14:37:43 pooka Exp $ .include "../vim-share/Makefile.common" @@ -8,7 +8,7 @@ DEPENDS+= vim-share-${VIM_VERSION}:../vim-share CONFLICTS= vim-xaw-* vim-gtk-* -CONFIGURE_ARGS+= --enable-gui=no --without-x --with-tlib=ncurses +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}" @@ -20,10 +20,16 @@ INSTALL_TARGET= installvimbin .if (${OPSYS} == "NetBSD") DEPENDS+= ncurses>=4.2:../../devel/ncurses +CONFIGURE_ARGS+= --with-tlib=ncurses +.elif ${OPSYS} == "SunOS" +CPPFLAGS= +CONFIGURE_ARGS+= --with-tlib=curses .endif post-install: - ${LN} -fs vim ${PREFIX}/bin/rvim - ${LN} -fs vim ${PREFIX}/bin/rview + for f in rvim rview ; do \ + ${RM} -f ${PREFIX}/bin/$$f; \ + ${LN} -s vim ${PREFIX}/bin/$$f; \ + done .include "../../mk/bsd.pkg.mk" |