summaryrefslogtreecommitdiffstats
path: root/net-im/libtelepathy
diff options
context:
space:
mode:
authorgusi <gusi@df743ca5-7f9a-e211-a948-0013205c9059>2014-03-20 15:43:26 +0800
committergusi <gusi@df743ca5-7f9a-e211-a948-0013205c9059>2014-03-20 15:43:26 +0800
commitb2376a4290b5bad5abaa4ae71822cc455aa76c41 (patch)
tree03fec4cfcc4b318f90d8c90176b8258eda8c35f8 /net-im/libtelepathy
parent045ec10a3ea93088e19742c26c22c81f00f3bc15 (diff)
downloadmarcuscom-ports-experimental-b2376a4290b5bad5abaa4ae71822cc455aa76c41.tar.gz
marcuscom-ports-experimental-b2376a4290b5bad5abaa4ae71822cc455aa76c41.tar.zst
marcuscom-ports-experimental-b2376a4290b5bad5abaa4ae71822cc455aa76c41.zip
Fix the build of libtelepathy. It fails to link with libglib-2.0 and
telepathy-glib. Also fix the STRIPD_CMD and while here do some fixing. git-svn-id: svn://creme-brulee.marcuscom.com/ports-experimental/trunk@19205 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'net-im/libtelepathy')
-rw-r--r--net-im/libtelepathy/Makefile10
-rw-r--r--net-im/libtelepathy/pkg-plist1
2 files changed, 8 insertions, 3 deletions
diff --git a/net-im/libtelepathy/Makefile b/net-im/libtelepathy/Makefile
index e0e1f3d..d50987e 100644
--- a/net-im/libtelepathy/Makefile
+++ b/net-im/libtelepathy/Makefile
@@ -1,5 +1,5 @@
# $FreeBSD$
-# $MCom$
+# $MCom: ports-experimental/trunk/net-im/libtelepathy/Makefile 19204 2014-03-19 22:32:06Z gusi $
PORTNAME= libtelepathy
PORTVERSION= 0.3.3
@@ -19,9 +19,13 @@ BUILD_DEPENDS+= ${LIB_PC_DEPENDS:C|^|${LOCALBASE}/libdata/pkgconfig/|g}
RUN_DEPENDS+= ${LIB_PC_DEPENDS:C|^|${LOCALBASE}/libdata/pkgconfig/|g}
USE_PYTHON_BUILD= yes
-USES= gmake libtool pkgconfig
+USES= gmake libtool pathfix pkgconfig
USE_LDCONFIG= yes
-USE_GNOME= gnomehack glib20 ltverhack
+USE_GNOME= glib20
GNU_CONFIGURE= yes
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib -lglib-2.0 `pkg-config --libs telepathy-glib`
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libtelepathy.so.2.*
.include <bsd.port.mk>
diff --git a/net-im/libtelepathy/pkg-plist b/net-im/libtelepathy/pkg-plist
index 726f9ac..446dbcd 100644
--- a/net-im/libtelepathy/pkg-plist
+++ b/net-im/libtelepathy/pkg-plist
@@ -48,6 +48,7 @@ lib/libtelepathy.a
lib/libtelepathy.la
lib/libtelepathy.so
lib/libtelepathy.so.2
+lib/libtelepathy.so.2.7.1
libdata/pkgconfig/libtelepathy.pc
@dirrm include/telepathy-1.0/libtelepathy
@dirrm include/telepathy-1.0