From 0104f4dfbf12d734b417b57dda88579c5f14213e Mon Sep 17 00:00:00 2001 From: seb Date: Sun, 11 Jan 2004 19:43:27 +0000 Subject: Fix build on NetBSD current. --- editors/nvi/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'editors/nvi/Makefile') diff --git a/editors/nvi/Makefile b/editors/nvi/Makefile index 60a21de0f0e..f0a5ae0ce83 100644 --- a/editors/nvi/Makefile +++ b/editors/nvi/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2003/07/17 21:34:45 grant Exp $ +# $NetBSD: Makefile,v 1.8 2004/01/11 19:43:27 seb Exp $ # DISTNAME= nvi-1.81.5 @@ -11,6 +11,14 @@ MAINTAINER= seb@NetBSD.org HOMEPAGE= http://www.kotnet.org/~skimo/nvi/devel/ COMMENT= Berkeley nvi with additional features +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "NetBSD" +. if !empty(OS_VERSION:M[2-9].*) || !empty(OS_VERSION:M1.6[A-Z]*) +CONFIGURE_ENV+= vi_cv_include_sys_select=no +. endif +.endif + GNU_CONFIGURE= YES CONFIGURE_SCRIPT= ../dist/configure CONFIGURE_ARGS+= --with-db3=${BUILDLINK_PREFIX.db3} -- cgit v1.2.3