summaryrefslogtreecommitdiff
path: root/sysutils/dbus/Makefile
diff options
context:
space:
mode:
authorryoon <ryoon>2013-01-06 03:55:51 +0000
committerryoon <ryoon>2013-01-06 03:55:51 +0000
commitfbcacdd1fca3597fef68d1cb27da024806338dcf (patch)
tree89b48d49168c53af23e61a056652706c61fdb54a /sysutils/dbus/Makefile
parent769b7b5ad78179e2700673e8a7ddb4d5d610055c (diff)
downloadpkgsrc-fbcacdd1fca3597fef68d1cb27da024806338dcf.tar.gz
Fix build on OpenBSD/amd64 5.2.
* librt should not be linked.
Diffstat (limited to 'sysutils/dbus/Makefile')
-rw-r--r--sysutils/dbus/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/sysutils/dbus/Makefile b/sysutils/dbus/Makefile
index 4ee03bdf384..d44a072bf11 100644
--- a/sysutils/dbus/Makefile
+++ b/sysutils/dbus/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.58 2012/10/23 19:50:57 asau Exp $
+# $NetBSD: Makefile,v 1.59 2013/01/06 03:55:51 ryoon Exp $
DISTNAME= dbus-1.6.8
CATEGORIES= sysutils
@@ -105,6 +105,10 @@ BUILDLINK_TRANSFORM+= rm:-Wl,--gc-sections
BUILDLINK_TRANSFORM+= rm:-fPIE
BUILDLINK_TRANSFORM+= rm:-pie
+.if ${OPSYS} == "OpenBSD"
+BUILDLINK_TRANSFORM+= rm:-lrt
+.endif
+
.include "options.mk"
.if ${OPSYS} == "Linux"