summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authordsainty <dsainty@pkgsrc.org>2009-03-30 14:14:19 +0000
committerdsainty <dsainty@pkgsrc.org>2009-03-30 14:14:19 +0000
commit2233fd895c601812f838d5033718030cea8a5bce (patch)
tree137a2153267b3f5b0098c91a86e4dfe2691ada9d /security
parent00e015145891eff3ae89e79e30536bde289b1c4c (diff)
downloadpkgsrc-2233fd895c601812f838d5033718030cea8a5bce.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@
Diffstat (limited to 'security')
-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