aboutsummaryrefslogtreecommitdiff
path: root/devel/dbus/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/dbus/Makefile')
-rw-r--r--devel/dbus/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/devel/dbus/Makefile b/devel/dbus/Makefile
index c52855667aec..92de3079975b 100644
--- a/devel/dbus/Makefile
+++ b/devel/dbus/Makefile
@@ -6,8 +6,8 @@
#
PORTNAME= dbus
-PORTVERSION?= 1.0.2
-PORTREVISION?= 2
+PORTVERSION?= 1.1.20
+PORTREVISION?= 0
CATEGORIES= devel gnome
MASTER_SITES= http://dbus.freedesktop.org/releases/dbus/
@@ -28,7 +28,7 @@ CONFIGURE_ARGS=--localstatedir=/var \
--disable-doxygen-docs \
--disable-xml-docs
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib" \
+ LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}"
.if !defined(DBUS_SLAVE)
@@ -48,10 +48,7 @@ USE_XLIB= yes
.include <bsd.port.pre.mk>
post-patch:
- @${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|' \
- ${WRKSRC}/bus/system.conf.in
- @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g ; \
- s|/usr/X11R6|${X11BASE}|g' \
+ @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
${WRKSRC}/dbus/dbus-sysdeps-unix.c
@${REINPLACE_CMD} -e 's|/lib/dbus/machine-id|/db/dbus/machine-id|g' \
${WRKSRC}/dbus/Makefile.in \
@@ -62,8 +59,7 @@ post-install:
.if !defined(PACKAGE_BUILDING)
@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.endif
- ${MKDIR} ${X11BASE}/etc/dbus-1/system.d
- ${MKDIR} ${X11BASE}/share/dbus-1/services
+ ${MKDIR} ${PREFIX}/share/dbus-1/interfaces
.endif
.include <bsd.port.post.mk>