diff options
author | Roman Bogorodskiy <novel@FreeBSD.org> | 2006-07-30 07:04:12 +0000 |
---|---|---|
committer | Roman Bogorodskiy <novel@FreeBSD.org> | 2006-07-30 07:04:12 +0000 |
commit | 8335b9774a9683a5b3c9f093f01c728ed05497c3 (patch) | |
tree | 905fb3c67a1eb798e934e4cb14d9c57ae8c7104f /net-p2p | |
parent | 42e503788afbfcf66b02b4bf961941fc34274f7e (diff) | |
download | ports-8335b9774a9683a5b3c9f093f01c728ed05497c3.tar.gz ports-8335b9774a9683a5b3c9f093f01c728ed05497c3.zip |
Notes
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/mooseekd/Makefile | 10 | ||||
-rw-r--r-- | net-p2p/mooseekd/distinfo | 6 | ||||
-rw-r--r-- | net-p2p/mooseekd/files/patch-mooseekal-ClientConnection.cc | 15 |
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) { |