summaryrefslogtreecommitdiff
path: root/editors/nvi/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2008-02-21 21:17:45 +0000
committerjlam <jlam>2008-02-21 21:17:45 +0000
commit6a617b7a068462f3c37154630b22fcc7cdbe354f (patch)
tree7a05329f56d393df9466a0c4b79ade9f3279dab5 /editors/nvi/Makefile
parent6c5bfd7b448daa62fd84adf745ff40c929eedc0d (diff)
downloadpkgsrc-6a617b7a068462f3c37154630b22fcc7cdbe354f.tar.gz
+ Rename the "ncursesw" option to "wide-curses". This should be supported
under NetBSD-current without actually needing ncursesw. + Only make "wide-curses" an available option on platforms that have the necessary wide-character support. It turns out NetBSD-3.x is not one of them. + Use a less patchy way to turn -ldb into -ldb3 by letting the wrappers do it. + Add full DESTDIR support. Bump the PKGREVISION to 6.
Diffstat (limited to 'editors/nvi/Makefile')
-rw-r--r--editors/nvi/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/editors/nvi/Makefile b/editors/nvi/Makefile
index 4971bcb74eb..610d43ab5ff 100644
--- a/editors/nvi/Makefile
+++ b/editors/nvi/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.26 2007/11/03 13:23:53 wiz Exp $
+# $NetBSD: Makefile,v 1.27 2008/02/21 21:17:45 jlam Exp $
#
DISTNAME= nvi-1.81.5
-PKGREVISION= 5
+PKGREVISION= 6
CATEGORIES= editors
MASTER_SITES= ${HOMEPAGE}
EXTRACT_SUFX= .tar.bz2
@@ -11,9 +11,9 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.kotnet.org/~skimo/nvi/devel/
COMMENT= Berkeley nvi with additional features
-.include "options.mk"
+PKG_DESTDIR_SUPPORT= user-destdir
-.include "../../mk/bsd.prefs.mk"
+.include "options.mk"
.if ${OPSYS} == "NetBSD"
. if !empty(OS_VERSION:M[2-9].*) || !empty(OS_VERSION:M1.6[A-Z]*)
@@ -38,5 +38,8 @@ CONFIGURE_ENV+= vi_cv_path_shell=${TOOLS_SH:Q}
USE_TOOLS+= sh
USE_LIBTOOL= YES
+# We need exactly the db3 API.
+BUILDLINK_TRANSFORM+= l:db:db3
.include "../../databases/db3/buildlink3.mk"
+
.include "../../mk/bsd.pkg.mk"