diff options
author | Romain Tartière <romain@FreeBSD.org> | 2014-01-31 10:54:36 +0000 |
---|---|---|
committer | Romain Tartière <romain@FreeBSD.org> | 2014-01-31 10:54:36 +0000 |
commit | 5773d9cf65fac9d48ea803d5219e1edbff2b821c (patch) | |
tree | 7ebc5e54e9e5e0d9e0d00edcc531d62911c16160 /devel/dbus-sharp | |
parent | dbc7e7712b297a10dd48c1d9d9da1c60927d1f62 (diff) |
Notes
Diffstat (limited to 'devel/dbus-sharp')
-rw-r--r-- | devel/dbus-sharp/Makefile | 23 | ||||
-rw-r--r-- | devel/dbus-sharp/files/patch-src_dbus-sharp.dll.config | 10 | ||||
-rw-r--r-- | devel/dbus-sharp/pkg-descr | 2 |
3 files changed, 20 insertions, 15 deletions
diff --git a/devel/dbus-sharp/Makefile b/devel/dbus-sharp/Makefile index 499412703ed9..d80809a86f5b 100644 --- a/devel/dbus-sharp/Makefile +++ b/devel/dbus-sharp/Makefile @@ -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/downloads/mono/${PORTNAME}/ 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> diff --git a/devel/dbus-sharp/files/patch-src_dbus-sharp.dll.config b/devel/dbus-sharp/files/patch-src_dbus-sharp.dll.config deleted file mode 100644 index 7a8bcfe77ea8..000000000000 --- a/devel/dbus-sharp/files/patch-src_dbus-sharp.dll.config +++ /dev/null @@ -1,10 +0,0 @@ - -$FreeBSD$ - ---- src/dbus-sharp.dll.config.orig -+++ src/dbus-sharp.dll.config -@@ -1,3 +1,3 @@ - <configuration> -- <dllmap dll="libsocket" os="!solaris" target="libc.so.6"/> -+ <dllmap dll="libsocket" os="!solaris" target="libc.so"/> - </configuration> diff --git a/devel/dbus-sharp/pkg-descr b/devel/dbus-sharp/pkg-descr index 7f24b015902b..ecc7efcfa179 100644 --- a/devel/dbus-sharp/pkg-descr +++ b/devel/dbus-sharp/pkg-descr @@ -2,4 +2,4 @@ This is a fork of ndesk-dbus, which is a C# implementation of D-Bus. It's often 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/ |