Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Jan 2014 10:54:36 +0000 (UTC)
From:      Romain Tartière <romain@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r341977 - in head/devel/dbus-sharp: . files
Message-ID:  <201401311054.s0VAsa5A061052@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: romain
Date: Fri Jan 31 10:54:36 2014
New Revision: 341977
URL: http://svnweb.freebsd.org/changeset/ports/341977
QAT: https://qat.redports.org/buildarchive/r341977/

Log:
  Fix for FreeBSD 10.0.
  
  While here, cleannup port.

Deleted:
  head/devel/dbus-sharp/files/
Modified:
  head/devel/dbus-sharp/Makefile
  head/devel/dbus-sharp/pkg-descr

Modified: head/devel/dbus-sharp/Makefile
==============================================================================
--- head/devel/dbus-sharp/Makefile	Fri Jan 31 10:20:31 2014	(r341976)
+++ head/devel/dbus-sharp/Makefile	Fri Jan 31 10:54:36 2014	(r341977)
@@ -3,6 +3,7 @@
 
 PORTNAME=	dbus-sharp
 PORTVERSION=	0.7.0
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	devel gnome
 MASTER_SITES=	http://cloud.github.com/downloads/mono/${PORTNAME}/
@@ -10,13 +11,27 @@ MASTER_SITES=	http://cloud.github.com/do
 MAINTAINER=	mono@FreeBSD.org
 COMMENT=	Mono interface to the D-BUS messaging system
 
+LICENSE=	MIT
+
 BUILD_DEPENDS=	mono:${PORTSDIR}/lang/mono
 RUN_DEPENDS=	mono:${PORTSDIR}/lang/mono
 
 GNU_CONFIGURE=	yes
-USE_GMAKE=	yes
-USES=	pathfix pkgconfig
+USES=		gmake pathfix pkgconfig
+
+.include <bsd.port.pre.mk>
+
+post-patch:
+.if ${OSVERSION} < 1000044
+# libc.so is a symlink to the right libc.so.X
+	${REINPLACE_CMD} -e 's|libc.so.6|libc.so|' \
+		${WRKSRC}/src/dbus-sharp.dll.config
+.else
+# libc.so is an LD script not usable by dllmap, so we have to set a proper
+# version number.
+	${REINPLACE_CMD} -e 's|libc.so.6|libc.so.7|' \
+		${WRKSRC}/src/dbus-sharp.dll.config
+.endif
 
-NO_STAGE=	yes
 .include "${.CURDIR}/../../lang/mono/bsd.mono.mk"
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>

Modified: head/devel/dbus-sharp/pkg-descr
==============================================================================
--- head/devel/dbus-sharp/pkg-descr	Fri Jan 31 10:20:31 2014	(r341976)
+++ head/devel/dbus-sharp/pkg-descr	Fri Jan 31 10:54:36 2014	(r341977)
@@ -2,4 +2,4 @@ This is a fork of ndesk-dbus, which is a
 referred to as "managed D-Bus" to avoid confusion with existing bindings (which
 wrap libdbus).
 
-WWW:	http://mono.github.com/dbus-sharp/
+WWW: http://mono.github.com/dbus-sharp/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401311054.s0VAsa5A061052>