mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
- utilize USE_BDB
PR: 89023 Submitted by: swhetzel at gmail.com Approved by: maintainer
This commit is contained in:
parent
ac08ee6091
commit
a08c5d86ff
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=159144
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user