aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorMarcus Alves Grando <mnag@FreeBSD.org>2005-09-25 04:55:12 +0800
committerMarcus Alves Grando <mnag@FreeBSD.org>2005-09-25 04:55:12 +0800
commit2551590d0deeb9e7f8b2d277e8a58a59779a1152 (patch)
treed407448bb117a3f6438ec557fc0e3cc5e50208a9 /misc
parent277293b1ac0a7b1a5c6075b882fbeda157f18cb7 (diff)
downloadfreebsd-ports-gnome-2551590d0deeb9e7f8b2d277e8a58a59779a1152.tar.gz
freebsd-ports-gnome-2551590d0deeb9e7f8b2d277e8a58a59779a1152.tar.zst
freebsd-ports-gnome-2551590d0deeb9e7f8b2d277e8a58a59779a1152.zip
Fix linking with DB(3|4)
PR: ports/86464 Submitted by: Piotr Rybicki <merius@innervision.pl> Approved by: pav (mentor), kiwi@oav.net (maintainer)
Diffstat (limited to 'misc')
-rw-r--r--misc/libhome/Makefile6
1 files changed, 4 insertions, 2 deletions
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