pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/editors/nvi Fixes configure failure if db1 is not in ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b9bdfafdf6d9
branches:  trunk
changeset: 554897:b9bdfafdf6d9
user:      obache <obache%pkgsrc.org@localhost>
date:      Sun Feb 22 12:20:17 2009 +0000

description:
Fixes configure failure if db1 is not in  BDB_ACCEPTED.

diffstat:

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

diffs (24 lines):

diff -r 69de9f4a2f29 -r b9bdfafdf6d9 editors/nvi/Makefile
--- a/editors/nvi/Makefile      Sun Feb 22 12:18:39 2009 +0000
+++ b/editors/nvi/Makefile      Sun Feb 22 12:20:17 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.35 2009/01/16 12:31:51 obache Exp $
+# $NetBSD: Makefile,v 1.36 2009/02/22 12:20:17 obache Exp $
 #
 
 DISTNAME=      nvi-1.81.6
@@ -41,9 +41,12 @@
 
 # Use of db1 is not officially supported.
 BDB_ACCEPTED=          db3 db4
+CONFIGURE_ARGS+=       --with-db=system
 .include "../../mk/bdb.buildlink3.mk"
-.if ${BDB_TYPE} == "db1" || ${BDB_TYPE} == "db2"
+.if ${BDB_TYPE} == "db1"
 CONFIGURE_ARGS+=       --with-db_type=db1
-.endif
+.else
 CONFIGURE_ARGS+=       --with-db-prefix=${BDBBASE}
+BUILDLINK_TRANSFORM+=  l:db:${BDB_TYPE}
+.endif
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index