aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/dclib
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2008-07-15 07:46:16 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2008-07-15 07:46:16 +0000
commit88ab3a84d3c6db007ce3b24dbe2b983f6d73a903 (patch)
treeedcdc12c1364520c7fe36be9e3362c476d5bd1fb /net-p2p/dclib
parent369cd63b7105ee158885b178d09817ed61ea206e (diff)
downloadports-88ab3a84d3c6db007ce3b24dbe2b983f6d73a903.tar.gz
ports-88ab3a84d3c6db007ce3b24dbe2b983f6d73a903.zip
Notes
Diffstat (limited to 'net-p2p/dclib')
-rw-r--r--net-p2p/dclib/Makefile8
-rw-r--r--net-p2p/dclib/distinfo6
-rw-r--r--net-p2p/dclib/files/patch-dclib-core_cdic.cpp12
-rw-r--r--net-p2p/dclib/pkg-plist2
4 files changed, 22 insertions, 6 deletions
diff --git a/net-p2p/dclib/Makefile b/net-p2p/dclib/Makefile
index 3b97abf5177e..348fa4036275 100644
--- a/net-p2p/dclib/Makefile
+++ b/net-p2p/dclib/Makefile
@@ -8,7 +8,7 @@
#
PORTNAME= dclib
-PORTVERSION= 0.3.17
+PORTVERSION= 0.3.18
CATEGORIES= net-p2p
MASTER_SITES= SF
MASTER_SITE_SUBDIR= wxdcgui
@@ -35,10 +35,12 @@ post-extract:
post-patch:
${REINPLACE_CMD} -e 's/-O2//g; s/-pedantic //g' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
- ${REINPLACE_CMD} -e 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' \
- ${WRKSRC}/Makefile.in
+ ${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|${PREFIX}/libdata/pkgconfig|g' \
+ ${WRKSRC}/Makefile.am ${WRKSRC}/Makefile.in
${FIND} ${WRKSRC} -name "Makefile.*" | ${XARGS} \
${REINPLACE_CMD} -e 's|dclib-0.3/||g'
${REINPLACE_CMD} -e 's|-0.3||g' ${WRKSRC}/dclib.pc.in
+ ${REINPLACE_CMD} -e 's|-D_XOPEN_SOURCE=500||g; \
+ s|-D_BSD_SOURCE||g' ${WRKSRC}/configure ${WRKSRC}/configure.in
.include <bsd.port.mk>
diff --git a/net-p2p/dclib/distinfo b/net-p2p/dclib/distinfo
index 64bea8e3250f..e2376d67d7fe 100644
--- a/net-p2p/dclib/distinfo
+++ b/net-p2p/dclib/distinfo
@@ -1,3 +1,3 @@
-MD5 (dclib-0.3.17.tar.bz2) = 967fd3127f981d427fd20564ab7d32e6
-SHA256 (dclib-0.3.17.tar.bz2) = 83173953793e29079e10002bdd009e4341f00cde3a624480485244e8bf996f87
-SIZE (dclib-0.3.17.tar.bz2) = 567806
+MD5 (dclib-0.3.18.tar.bz2) = b4e383e53a74023006d937448740fb67
+SHA256 (dclib-0.3.18.tar.bz2) = 885d747e02a7132f4825f1b47d8cbb74972b1dbccd8929ef5629c741e923af7e
+SIZE (dclib-0.3.18.tar.bz2) = 453642
diff --git a/net-p2p/dclib/files/patch-dclib-core_cdic.cpp b/net-p2p/dclib/files/patch-dclib-core_cdic.cpp
new file mode 100644
index 000000000000..af47d5a0b55a
--- /dev/null
+++ b/net-p2p/dclib/files/patch-dclib-core_cdic.cpp
@@ -0,0 +1,12 @@
+--- dclib/core/cdir.cpp.orig 2008-07-15 00:32:51.000000000 +0200
++++ dclib/core/cdir.cpp 2008-07-15 00:33:42.000000000 +0200
+@@ -30,9 +30,6 @@
+ #ifdef HAVE_SYS_VFS_H
+ #include <sys/vfs.h>
+ #endif
+-#ifdef HAVE_SYS_MOUNT_H
+-#include <sys/mount.h>
+-#endif
+ #ifdef HAVE_SYS_PARAM_H
+ #include <sys/param.h>
+ #endif
diff --git a/net-p2p/dclib/pkg-plist b/net-p2p/dclib/pkg-plist
index cbcb63cffda4..2b5486152659 100644
--- a/net-p2p/dclib/pkg-plist
+++ b/net-p2p/dclib/pkg-plist
@@ -33,6 +33,7 @@ include/dclib/core/csingleton.h
include/dclib/core/csocket.h
include/dclib/core/cssl.h
include/dclib/core/cstring.h
+include/dclib/core/cstringhash.h
include/dclib/core/cstringlist.h
include/dclib/core/cthread.h
include/dclib/core/cxml.h
@@ -50,6 +51,7 @@ include/dclib/ctransfer.h
include/dclib/cuserlist.h
include/dclib/cutils.h
include/dclib/dclib-ssl-use.h
+include/dclib/dclib-stl-use.h
include/dclib/dclib.h
include/dclib/dcobject.h
include/dclib/dcos.h