pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/db4 don't set BUILDLINK_LDADD/BUILDLINK_LIBS...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0a4f46e9ae4d
branches:  trunk
changeset: 398751:0a4f46e9ae4d
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Mon Sep 07 18:37:12 2009 +0000

description:
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

diffstat:

 databases/db4/buildlink3.mk |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (24 lines):

diff -r 2ea100a10466 -r 0a4f46e9ae4d databases/db4/buildlink3.mk
--- a/databases/db4/buildlink3.mk       Mon Sep 07 18:35:51 2009 +0000
+++ b/databases/db4/buildlink3.mk       Mon Sep 07 18:37:12 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.35 2009/03/20 19:24:04 joerg Exp $
+# $NetBSD: buildlink3.mk,v 1.36 2009/09/07 18:37:12 drochner Exp $
 
 BUILDLINK_TREE+=       db4
 
@@ -9,12 +9,12 @@
 BUILDLINK_ABI_DEPENDS.db4?=    db4>=4.7.25.1
 BUILDLINK_PKGSRCDIR.db4?=      ../../databases/db4
 BUILDLINK_INCDIRS.db4?=                include/db4
-BUILDLINK_LDADD.db4=           -ldb4
+#BUILDLINK_LDADD.db4=          -ldb4
 BUILDLINK_TRANSFORM+=          l:db-4:db4
 
 .  include "../../mk/bsd.fast.prefs.mk"
 .  if defined(USE_DB185) && !empty(USE_DB185:M[yY][eE][sS])
-BUILDLINK_LIBS.db4=            ${BUILDLINK_LDADD.db4}
+#BUILDLINK_LIBS.db4=           ${BUILDLINK_LDADD.db4}
 BUILDLINK_TRANSFORM+=          l:db:db4
 .  endif
 



Home | Main Index | Thread Index | Old Index