aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/mooseekd
diff options
context:
space:
mode:
authornovel <novel@FreeBSD.org>2006-07-30 15:04:12 +0800
committernovel <novel@FreeBSD.org>2006-07-30 15:04:12 +0800
commit7fac43365b42376ea4ec2502bcffffb08e9caa25 (patch)
tree7c01391d7fec64ab94f2e83e0bcd541d95bc9737 /net-p2p/mooseekd
parenta2880b1f5cc1e554cd1f93005b2c0875d2e2f33d (diff)
downloadfreebsd-ports-gnome-7fac43365b42376ea4ec2502bcffffb08e9caa25.tar.gz
freebsd-ports-gnome-7fac43365b42376ea4ec2502bcffffb08e9caa25.tar.zst
freebsd-ports-gnome-7fac43365b42376ea4ec2502bcffffb08e9caa25.zip
Update to 0.04.
Diffstat (limited to 'net-p2p/mooseekd')
-rw-r--r--net-p2p/mooseekd/Makefile10
-rw-r--r--net-p2p/mooseekd/distinfo6
-rw-r--r--net-p2p/mooseekd/files/patch-mooseekal-ClientConnection.cc15
3 files changed, 25 insertions, 6 deletions
diff --git a/net-p2p/mooseekd/Makefile b/net-p2p/mooseekd/Makefile
index ad93352d9cc6..2434b91cf6b3 100644
--- a/net-p2p/mooseekd/Makefile
+++ b/net-p2p/mooseekd/Makefile
@@ -6,17 +6,21 @@
#
PORTNAME= mooseekd
-PORTVERSION= 0.01
+PORTVERSION= 0.04
CATEGORIES= net-p2p
MASTER_SITES= http://files.beep-media-player.org/releases/mooseekd/
MAINTAINER= novel@FreeBSD.org
COMMENT= A deamon to connect to the Soulseek network
-LIB_DEPENDS= xml\\+\\+-1.0.1:${PORTSDIR}/textproc/libxml++
+LIB_DEPENDS= xml\\+\\+-2.6.2:${PORTSDIR}/textproc/libxml++26
USE_BZIP2= yes
-USE_SCONS= yes
+GNU_CONFIGURE= yes
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ENV= CXXFLAGS="${CXXFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
+ LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
USE_FAM= yes
+USE_ICONV= yes
.include <bsd.port.mk>
diff --git a/net-p2p/mooseekd/distinfo b/net-p2p/mooseekd/distinfo
index add7beee1c0a..b9db7a6926af 100644
--- a/net-p2p/mooseekd/distinfo
+++ b/net-p2p/mooseekd/distinfo
@@ -1,3 +1,3 @@
-MD5 (mooseekd-0.01.tar.bz2) = 31254dbcc6d355c054e8b11df89f5ec6
-SHA256 (mooseekd-0.01.tar.bz2) = d4df8c27d11db6538ac7912bf230aa4c66a1de00c8db0703121e6ce287b011a1
-SIZE (mooseekd-0.01.tar.bz2) = 461470
+MD5 (mooseekd-0.04.tar.bz2) = 4a5dc0e70e69493eadce93491e955d5b
+SHA256 (mooseekd-0.04.tar.bz2) = a83fe5f2e923205990bc42f46677e27832916ba598516fb2080f97a4a6d9e9fd
+SIZE (mooseekd-0.04.tar.bz2) = 347892
diff --git a/net-p2p/mooseekd/files/patch-mooseekal-ClientConnection.cc b/net-p2p/mooseekd/files/patch-mooseekal-ClientConnection.cc
new file mode 100644
index 000000000000..f65a0fc2e9dd
--- /dev/null
+++ b/net-p2p/mooseekd/files/patch-mooseekal-ClientConnection.cc
@@ -0,0 +1,15 @@
+--- mooseekal/ClientConnection.cc.orig Sun Jul 30 10:18:08 2006
++++ mooseekal/ClientConnection.cc Sun Jul 30 10:20:02 2006
+@@ -228,7 +228,12 @@
+ outbuf.pop();
+ }
+
++// FreeBSD 5.x and older doesn't support MSG_NOSIGNAL
++#ifdef MSG_NOSIGNAL
+ j = ::send (sock, data, i, MSG_NOSIGNAL);
++#else
++ j = ::send (sock, data, i, 0);
++#endif // MSG_NOSIGNAL
+
+ errno = 0;
+ if (j < 0) {