1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00

Fix linking with DB(3|4)

PR:		ports/86464
Submitted by:	Piotr Rybicki <merius@innervision.pl>
Approved by:	pav (mentor), kiwi@oav.net (maintainer)
This commit is contained in:
Marcus Alves Grando 2005-09-24 20:55:12 +00:00
parent 277293b1ac
commit 2551590d0d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=143499

View File

@ -49,14 +49,16 @@ CONFIGURE_ARGS+= --without-mysql
.if !defined(WITHOUT_DB3)
LIB_DEPENDS+= db3.3:${PORTSDIR}/databases/db3
CONFIGURE_ARGS+= --with-db3=${LOCALBASE}/include/db3 --without-db4
CONFIGURE_ARGS+= --with-db3=${LOCALBASE}/include/db3 --with-db-libdir=${LOCALBASE}/lib
CONFIGURE_ARGS+= --without-db4
.else
CONFIGURE_ARGS+= --without-db3
.endif
.if defined(WITH_DB4)
LIB_DEPENDS+= db4:${PORTSDIR}/databases/db4
CONFIGURE_ARGS+= --with-db4=${LOCALBASE}/include/db4 --without-db3
CONFIGURE_ARGS+= --with-db4=${LOCALBASE}/include/db4 --with-db-libdir=${LOCALBASE}/lib
CONFIGURE_ARGS+= --without-db3
.else
CONFIGURE_ARGS+= --without-db4
.endif