pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/editors/nvi Fix build on NetBSD current.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5a4f9143070d
branches:  trunk
changeset: 466109:5a4f9143070d
user:      seb <seb%pkgsrc.org@localhost>
date:      Sun Jan 11 19:43:27 2004 +0000

description:
Fix build on NetBSD current.

diffstat:

 editors/nvi/Makefile |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r ea2e95076ae6 -r 5a4f9143070d editors/nvi/Makefile
--- a/editors/nvi/Makefile      Sun Jan 11 19:41:39 2004 +0000
+++ b/editors/nvi/Makefile      Sun Jan 11 19:43:27 2004 +0000
@@ -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 @@
 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}



Home | Main Index | Thread Index | Old Index