pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/gnome-keyring Work around the problem that BU...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bb457d2598c9
branches:  trunk
changeset: 556694:bb457d2598c9
user:      dsainty <dsainty%pkgsrc.org@localhost>
date:      Mon Mar 30 14:14:19 2009 +0000

description:
Work around the problem that BUILDLINK_LDADD.dl is not initialised by
mk/dlopen.buildlink3.mk until very late in the proceedings.  Fixes build on
Linux.  No PKGREVISION bump required, no functional change on platforms where
the build completed.

Addresses PR pkg/41080.

Ok'd by wiz@

diffstat:

 security/gnome-keyring/Makefile |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (20 lines):

diff -r f6e9520a18d2 -r bb457d2598c9 security/gnome-keyring/Makefile
--- a/security/gnome-keyring/Makefile   Mon Mar 30 10:57:02 2009 +0000
+++ b/security/gnome-keyring/Makefile   Mon Mar 30 14:14:19 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.44 2009/03/22 14:45:19 snj Exp $
+# $NetBSD: Makefile,v 1.45 2009/03/30 14:14:19 dsainty Exp $
 
 DISTNAME=      gnome-keyring-2.26.0
 PKGREVISION=   1
@@ -40,9 +40,7 @@
 
 .include "../../mk/dlopen.buildlink3.mk"
 
-.if !defined(BUILDLINK_LDADD.dl)
-BUILDLINK_TRANSFORM+=  rm:-ldl
-.endif
+BUILDLINK_TRANSFORM+=  opt:-ldl:${BUILDLINK_LDADD.dl:M*}
 
 BUILDLINK_API_DEPENDS.glib2+=  glib2>=2.6.0
 BUILDLINK_API_DEPENDS.gtk2+=   gtk2+>=2.6.0



Home | Main Index | Thread Index | Old Index