diff options
author | seb <seb> | 2004-01-11 19:43:27 +0000 |
---|---|---|
committer | seb <seb> | 2004-01-11 19:43:27 +0000 |
commit | f5174b227fe98fad650943f26249b97c69d2af4b (patch) | |
tree | 04607ace3d76ac1c99cd02f0c32b8e818b43fe7e /editors | |
parent | 8b50662cb28cebc4b6f331640cb9a9efce7a4b9f (diff) | |
download | pkgsrc-f5174b227fe98fad650943f26249b97c69d2af4b.tar.gz |
Fix build on NetBSD current.
Diffstat (limited to 'editors')
-rw-r--r-- | editors/nvi/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
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} |