summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordsainty <dsainty>2009-03-30 14:14:19 +0000
committerdsainty <dsainty>2009-03-30 14:14:19 +0000
commit3c1e1f235bc54352d82e5c45bd3689a56e61129c (patch)
tree137a2153267b3f5b0098c91a86e4dfe2691ada9d
parent9bc7ea459315ee776cf22ecb6112ec8cf249e343 (diff)
downloadpkgsrc-3c1e1f235bc54352d82e5c45bd3689a56e61129c.tar.gz
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@
-rw-r--r--security/gnome-keyring/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/security/gnome-keyring/Makefile b/security/gnome-keyring/Makefile
index 46d62d5acdf..2fa98e9f7c9 100644
--- a/security/gnome-keyring/Makefile
+++ b/security/gnome-keyring/Makefile
@@ -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 @@ CFLAGS.NetBSD+= -DNO_STATIC_MODULES
.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