On Mon, Sep 07, 2009 at 06:37:12PM +0000, Matthias Drochner wrote:
Module Name: pkgsrc
Committed By: drochner
Date: Mon Sep 7 18:37:12 UTC 2009
Modified Files:
pkgsrc/databases/db4: buildlink3.mk
Log Message:
don't set BUILDLINK_LDADD/BUILDLINK_LIBS -- this ends up in the LIBS
environment variable which makes (at least if GNU configure is
used the common way) that everything in the pkg gets linked against db4,
whether needed or not, which causes hidden dependencies and strange errors
This breaks mk/bdb.buildlink3.mk and thus e.g. p5-BerkeleyDB.
The former does
BDB_LIBS= ${BUILDLINK_LDADD.${BDB_TYPE}}
and the latter does
MAKE_ENV+= BERKELEYDB_NAME=${BDB_LIBS:Q}
but ${BUILDLINK_LDADD.db4} wasn't defined any longer.
So I reverted that part of the commit and it's now defined again.