summaryrefslogtreecommitdiff
path: root/editors/vim
diff options
context:
space:
mode:
authoragc <agc>1999-11-12 16:55:11 +0000
committeragc <agc>1999-11-12 16:55:11 +0000
commit838d046e91be8e931020211f5b3cec95116a5f98 (patch)
tree904adc87330de7e71c8b7677d6d5c19e225ac4e8 /editors/vim
parent0f3a955b0539a60b9f7a5b3f4163dd5d83f2c176 (diff)
downloadpkgsrc-838d046e91be8e931020211f5b3cec95116a5f98.tar.gz
Make this package compile on Solaris.
Diffstat (limited to 'editors/vim')
-rw-r--r--editors/vim/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/editors/vim/Makefile b/editors/vim/Makefile
index bc10143b0fc..5c8a6ba0179 100644
--- a/editors/vim/Makefile
+++ b/editors/vim/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 1999/10/07 17:41:49 tron Exp $
+# $NetBSD: Makefile,v 1.21 1999/11/12 16:55:11 agc Exp $
DISTNAME= vim-5.4
WRKSRC= ${WRKDIR}/${DISTNAME}/src
@@ -13,8 +13,6 @@ DISTFILES= ${DISTNAME}-src${EXTRACT_SUFX} \
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.vim.org/
-DEPENDS= ncurses-4.2:../../devel/ncurses
-
CONFLICTS= vim-gtk-*
GNU_CONFIGURE= yes
@@ -24,4 +22,10 @@ CPPFLAGS+= -I${LOCALBASE}/include # for ncurses' termcap.h
LDFLAGS+= -L${LOCALBASE}/lib # for -lncurses
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD"
+DEPENDS= ncurses-4.2:../../devel/ncurses
+.endif
+
.include "../../mk/bsd.pkg.mk"