aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormnag <mnag@FreeBSD.org>2005-09-25 04:55:12 +0800
committermnag <mnag@FreeBSD.org>2005-09-25 04:55:12 +0800
commit20c3d4ae8638e4ad813d7df8da19d1503b144580 (patch)
tree3c9a4aa98b3cb37b23c96a3745401f2e75a532fc
parentbcc15cbbd0bc48cb83b0eac08dbe31a28ebf1355 (diff)
downloadfreebsd-ports-gnome-20c3d4ae8638e4ad813d7df8da19d1503b144580.tar.gz
freebsd-ports-gnome-20c3d4ae8638e4ad813d7df8da19d1503b144580.tar.zst
freebsd-ports-gnome-20c3d4ae8638e4ad813d7df8da19d1503b144580.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)
-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