Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Nov 2002 06:13:52 +0900
From:      KATO Tsuguru <tkato@prontomail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/45437: Update port: audio/darkice to 0.12
Message-ID:  <20021119061352.03bd1e2d.tkato@prontomail.com>

next in thread | raw e-mail | index | archive | help

>Number:         45437
>Category:       ports
>Synopsis:       Update port: audio/darkice to 0.12
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 18 13:30:08 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.7-RELEASE-p2 i386
>Organization:
>Environment:
>Description:
- Update to version 0.12
- Fix pkg-comment format

Remove file:
files/patch-src_TcpSocket.cpp

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/audio/darkice/Makefile audio/darkice/Makefile
--- /usr/ports/audio/darkice/Makefile	Mon Nov 11 18:58:53 2002
+++ audio/darkice/Makefile	Mon Nov 11 19:44:21 2002
@@ -7,7 +7,7 @@
 #
 
 PORTNAME=	darkice
-PORTVERSION=	0.11
+PORTVERSION=	0.12
 CATEGORIES=	audio net
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -17,12 +17,23 @@
 LIB_DEPENDS=	mp3lame.0:${PORTSDIR}/audio/lame \
 		vorbis.2:${PORTSDIR}/audio/libvorbis
 
+USE_REINPLACE=	yes
 GNU_CONFIGURE=	yes
-CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ENV=	CPPFLAGS="${PTHREAD_CFLAGS}" LDFLAGS="${PTHREAD_LIBS}"
 CONFIGURE_ARGS=	--with-lame-prefix=${LOCALBASE} \
 		--with-vorbis-prefix=${LOCALBASE}
 
 MAN1=	darkice.1
 MAN5=	darkice.cfg.5
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 5000000
+USE_GCC=	3.1
+.endif
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
+
+.include <bsd.port.post.mk>
diff -urN /usr/ports/audio/darkice/distinfo audio/darkice/distinfo
--- /usr/ports/audio/darkice/distinfo	Mon Oct  7 20:19:50 2002
+++ audio/darkice/distinfo	Mon Oct 21 19:05:59 2002
@@ -1 +1 @@
-MD5 (darkice-0.11.tar.gz) = a5cf35c58bfe5eacd95ee991ce8feed2
+MD5 (darkice-0.12.tar.gz) = a28af863edaab12366a5b66b167b8fd6
diff -urN /usr/ports/audio/darkice/files/patch-src_TcpSocket.cpp audio/darkice/files/patch-src_TcpSocket.cpp
--- /usr/ports/audio/darkice/files/patch-src_TcpSocket.cpp	Tue Aug 13 06:01:56 2002
+++ audio/darkice/files/patch-src_TcpSocket.cpp	Thu Jan  1 09:00:00 1970
@@ -1,15 +0,0 @@
-
-$FreeBSD: ports/audio/darkice/files/patch-src_TcpSocket.cpp,v 1.1 2002/08/12 21:01:56 naddy Exp $
-
---- src/TcpSocket.cpp.orig	Sat Jul 20 18:37:06 2002
-+++ src/TcpSocket.cpp	Sat Aug 10 14:09:52 2002
-@@ -81,6 +81,9 @@
- #error need sys/time.h
- #endif
- 
-+#ifndef MSG_NOSIGNAL
-+#define MSG_NOSIGNAL 0
-+#endif
- 
- #include "Util.h"
- #include "Exception.h"
diff -urN /usr/ports/audio/darkice/pkg-comment audio/darkice/pkg-comment
--- /usr/ports/audio/darkice/pkg-comment	Mon Nov 11 01:45:03 2002
+++ audio/darkice/pkg-comment	Mon Nov 11 20:55:44 2002
@@ -1 +1 @@
-DarkIce is an IceCast, IceCast2 and ShoutCast live audio streamer
+An IceCast, IceCast2 and ShoutCast live audio streamer
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021119061352.03bd1e2d.tkato>