summaryrefslogtreecommitdiffstats
path: root/net-p2p
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2008-07-15 07:46:16 +0000
committergahr <gahr@FreeBSD.org>2008-07-15 07:46:16 +0000
commit7a3e09a6b1103e894631214891c509b6731d9b0a (patch)
tree025b1f5209bb1c85dd36d38d0f8682b24f527193 /net-p2p
parente8adfed0e1754e0648c65c81b4e32ece5366783b (diff)
downloadFreeBSD-ports-7a3e09a6b1103e894631214891c509b6731d9b0a.zip
FreeBSD-ports-7a3e09a6b1103e894631214891c509b6731d9b0a.tar.gz
- Update to 0.3.18
Diffstat (limited to 'net-p2p')
-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 3b97abf..348fa40 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 64bea8e..e2376d6 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 0000000..af47d5a
--- /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 cbcb63c..2b54861 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
OpenPOWER on IntegriCloud