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
commit603b1e0ff39ab1a4614fc50e67a8b352d31d8680 (patch)
treedcfdb0348feecbe92c61eb3e38beafa93ac2f37b /editors/bvi
parent253a55e4a09bca85aa04327c2099e8fae8c8e50f (diff)
downloadpkgsrc-603b1e0ff39ab1a4614fc50e67a8b352d31d8680.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"