summaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2006-04-08 18:29:54 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2006-04-08 18:29:54 +0000
commita08c5d86fffadf78bd6e884ddfc087a7d2ed9e56 (patch)
tree19c4f24a3397b5f523519e61d5a9547068251389 /chinese
parent- Update to 2.0.10 (diff)
- utilize USE_BDB
PR: 89023 Submitted by: swhetzel at gmail.com Approved by: maintainer
Diffstat (limited to 'chinese')
-rw-r--r--chinese/p5-Lingua-ZH-TaBE/Makefile15
1 files changed, 5 insertions, 10 deletions
diff --git a/chinese/p5-Lingua-ZH-TaBE/Makefile b/chinese/p5-Lingua-ZH-TaBE/Makefile
index 2a54d18b433c..40aa8e29b7e2 100644
--- a/chinese/p5-Lingua-ZH-TaBE/Makefile
+++ b/chinese/p5-Lingua-ZH-TaBE/Makefile
@@ -19,16 +19,11 @@ COMMENT= Chinese processing via libtabe
LIB_DEPENDS= tabe.2:${PORTSDIR}/chinese/libtabe
PERL_CONFIGURE= yes
-WITH_DB?= db3
-CONFIGURE_ARGS= DB="${WITH_DB}"
-.if ${WITH_DB} == "db2"
-LIB_DEPENDS+= db2.0:${PORTSDIR}/databases/db2
-.elif ${WITH_DB} == "db4"
-LIB_DEPENDS+= db4.0:${PORTSDIR}/databases/db4
-.else
-LIB_DEPENDS+= db3.3:${PORTSDIR}/databases/db3
-.endif
+USE_BDB= yes
+OBSOLETE_BDB_VAR= WITH_DB
+
+CONFIGURE_ARGS= DB="${BDB_LIB_NAME}"
MAN3= Lingua::ZH::TaBE.3
@@ -36,7 +31,7 @@ pre-fetch:
@${ECHO} ""
@${ECHO} "You may specify db version to use:"
@${ECHO} ""
- @${ECHO} " WITH_DB=db_version (Default db3)."
+ @${ECHO} " WITH_DB_VER=version (Default 41)"
@${ECHO} ""
.include <bsd.port.mk>