From 20c3d4ae8638e4ad813d7df8da19d1503b144580 Mon Sep 17 00:00:00 2001 From: mnag Date: Sat, 24 Sep 2005 20:55:12 +0000 Subject: Fix linking with DB(3|4) PR: ports/86464 Submitted by: Piotr Rybicki Approved by: pav (mentor), kiwi@oav.net (maintainer) --- misc/libhome/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'misc/libhome') diff --git a/misc/libhome/Makefile b/misc/libhome/Makefile index 6bfd853975ca..1c5775ce1b0b 100644 --- a/misc/libhome/Makefile +++ b/misc/libhome/Makefile @@ -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 -- cgit