diff options
author | obache <obache> | 2009-02-22 12:20:17 +0000 |
---|---|---|
committer | obache <obache> | 2009-02-22 12:20:17 +0000 |
commit | 05ee30497c9f01650e8678f61d535223d32edabe (patch) | |
tree | 4adb62f663bf45ef711d2a52ae9637d6e9597605 /editors | |
parent | 3fab8088e96ab50e4398f675283bcf3aa627e300 (diff) | |
download | pkgsrc-05ee30497c9f01650e8678f61d535223d32edabe.tar.gz |
Fixes configure failure if db1 is not in BDB_ACCEPTED.
Diffstat (limited to 'editors')
-rw-r--r-- | editors/nvi/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/editors/nvi/Makefile b/editors/nvi/Makefile index f5276e78234..ba5af830544 100644 --- a/editors/nvi/Makefile +++ b/editors/nvi/Makefile @@ -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 @@ INSTALL_UNSTRIPPED= yes # 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" |