summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1999-11-12 16:55:11 +0000
committeragc <agc@pkgsrc.org>1999-11-12 16:55:11 +0000
commit3adb459850b470e8e2eab01b16887e611739f5b9 (patch)
tree904adc87330de7e71c8b7677d6d5c19e225ac4e8 /editors
parent5e760986d111e3ed293aee0a9a29f541dc584b11 (diff)
downloadpkgsrc-3adb459850b470e8e2eab01b16887e611739f5b9.tar.gz
Make this package compile on Solaris.
Diffstat (limited to 'editors')
-rw-r--r--editors/vim-gtk/Makefile16
-rw-r--r--editors/vim/Makefile10
2 files changed, 18 insertions, 8 deletions
diff --git a/editors/vim-gtk/Makefile b/editors/vim-gtk/Makefile
index ab1bc6c3707..f9511409014 100644
--- a/editors/vim-gtk/Makefile
+++ b/editors/vim-gtk/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 1999/10/23 00:05:17 tron Exp $
+# $NetBSD: Makefile,v 1.4 1999/11/12 16:57:57 agc Exp $
DISTNAME= vim-5.4
PKGNAME= vim-gtk-5.4
@@ -14,16 +14,22 @@ DISTFILES= ${DISTNAME}-src${EXTRACT_SUFX} \
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.vim.org/
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD"
DEPENDS+= ncurses-4.2:../../devel/ncurses
+CONFIGURE_ARGS+= --with-tlib=ncurses
+CPPFLAGS+= -I${LOCALBASE}/include # for ncurses' termcap.h
+LDFLAGS+= -L${LOCALBASE}/lib # for -lncurses
+CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
+.endif
+
DEPENDS+= gtk+-1.2.*:../../x11/gtk
CONFLICTS= vim-*
GNU_CONFIGURE= yes
USE_X11= yes
-CONFIGURE_ARGS+= --enable-gui=gtk --with-tlib=ncurses
-CPPFLAGS+= -I${LOCALBASE}/include # for ncurses' termcap.h
-LDFLAGS+= -L${LOCALBASE}/lib # for -lncurses
-CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
+CONFIGURE_ARGS+= --enable-gui=gtk
.include "../../mk/bsd.pkg.mk"
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"