summaryrefslogtreecommitdiff
path: root/editors/bvi
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1999-11-12 15:32:48 +0000
committeragc <agc@pkgsrc.org>1999-11-12 15:32:48 +0000
commit5921d559f6ac393d68f17461a30963c20fe2d4a8 (patch)
treedcfdb0348feecbe92c61eb3e38beafa93ac2f37b /editors/bvi
parent19883a92302d28fdd7f9e8b5dba9317aad73aec4 (diff)
downloadpkgsrc-5921d559f6ac393d68f17461a30963c20fe2d4a8.tar.gz
Make this package compile on Solaris.
Diffstat (limited to 'editors/bvi')
-rw-r--r--editors/bvi/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/editors/bvi/Makefile b/editors/bvi/Makefile
index 6e683d19be2..141b514035c 100644
--- a/editors/bvi/Makefile
+++ b/editors/bvi/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 1999/11/08 09:05:40 sakamoto Exp $
+# $NetBSD: Makefile,v 1.2 1999/11/12 15:32:48 agc Exp $
#
DISTNAME= bvi-1.2.0.src
@@ -9,8 +9,6 @@ MASTER_SITES= http://bvi.linuxbox.com/download/
MAINTAINER= sakamoto@netbsd.org
HOMEPAGE= http://bvi.linuxbox.com/
-DEPENDS+= ncurses-4.2:../../devel/ncurses
-
GNU_CONFIGURE= YES
CONFIGURE_ENV+= CFLAGS="-I${LOCALBASE}/include" \
CPPFLAGS="-I${LOCALBASE}/include"
@@ -18,4 +16,10 @@ MAKE_ENV+= SHELL=${SH}
WRKSRC= ${WRKDIR}/${PKGNAME}
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD"
+DEPENDS+= ncurses-4.2:../../devel/ncurses
+.endif
+
.include "../../mk/bsd.pkg.mk"