aboutsummaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2006-04-09 02:29:54 +0800
committerleeym <leeym@FreeBSD.org>2006-04-09 02:29:54 +0800
commit8591f49b9784977367e93881fdae3f453535f08f (patch)
treea0c0a84480ca4f527f785e5e1042a85a41bee70e /chinese
parent006a5e3610d2dec02d9f36b7a3b788b19943c6ae (diff)
downloadfreebsd-ports-gnome-8591f49b9784977367e93881fdae3f453535f08f.tar.gz
freebsd-ports-gnome-8591f49b9784977367e93881fdae3f453535f08f.tar.zst
freebsd-ports-gnome-8591f49b9784977367e93881fdae3f453535f08f.zip
- 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>