summaryrefslogtreecommitdiff
path: root/editors/bvi
diff options
context:
space:
mode:
authoragc <agc>1999-11-12 15:32:48 +0000
committeragc <agc>1999-11-12 15:32:48 +0000
commit7fc1bee2d2f04e4c68afee8d205242f2b8f5b60f (patch)
treedcfdb0348feecbe92c61eb3e38beafa93ac2f37b /editors/bvi
parent3f5164323ed0456ae4d90f4c57c5ed28143f591f (diff)
downloadpkgsrc-7fc1bee2d2f04e4c68afee8d205242f2b8f5b60f.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"