Hi Marc
Am 10.12.2011 15:34, schrieb Marc Espie:
So I expect your "full" db/v4 comes from elsewhere.
Have a closer look at vars.log, in particular the (parent) stuff in
parentheses, to figure out what pkgpath leads to full db/v4.
Well now I feel like a complete idiot. Not once I have looked into that
file before :-(
It turns out db/v4 is pulled in by the squidguard port, the openldap
port and the postfix port when building with db4 flaour. (I'm not sure
why though. Most of the other ports seem to request db4 with the no_java
flavor)
Thank you for putting me in the right direction and sorry for wasting
your time.
regards andré
PS: These patches "fix" the build for me:
--- ports/www/squidguard/Makefile.orig Sat Dec 10 16:27:23 2011
+++ ports/www/squidguard/Makefile Sat Dec 10 16:29:31 2011
@@ -23,7 +23,7 @@
CONFIG_DIR = ${SYSCONFDIR}/squidguard
SUBST_VARS = SG_DIR CONFIG_DIR
-LIB_DEPENDS = databases/db/v4
+LIB_DEPENDS = databases/db/v4,bootstrap,no_java,no_tcl
RUN_DEPENDS = www/squid
BUILD_DEPENDS = ${RUN_DEPENDS}
--- ports/mail/postfix/Makefile.inc.orig Sat Dec 10 16:25:17 2011
+++ ports/mail/postfix/Makefile.inc Sat Dec 10 16:31:57 2011
@@ -74,7 +74,7 @@
.endif
.if ${FLAVOR:L:Mdb4}
-LIB_DEPENDS+= databases/db/v4>=4,<5
+LIB_DEPENDS+= databases/db/v4,bootstrap,no_java,no_tcl
WANTLIB+= lib/db4/db>=4
MAKE_CCARGS+= -I${LOCALBASE}/include/db4
MAKE_AUXLIBS+= -L${LOCALBASE}/lib/db4 -ldb
--- ports/databases/openldap/Makefile.orig Sat Dec 10 16:25:17 2011
+++ ports/databases/openldap/Makefile Sat Dec 10 16:33:23 2011
@@ -79,7 +79,7 @@
LIB_DEPENDS-server = ${LIB_DEPENDS-main} \
textproc/icu4c \
- databases/db/v4
+ databases/db/v4,bootstrap,no_java,no_tcl
CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include/sasl
-I${LOCALBASE}/include/db4 -
I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib/db4 -L${LOCALBASE}/lib"