aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-11-20 20:50:47 +0800
committerijliao <ijliao@FreeBSD.org>2002-11-20 20:50:47 +0800
commit1c5cbb5ec302acdedb7f92cab8ef3e868ad3e036 (patch)
tree2c87091c30381a08d5a422a01a9735f5c3fcdc54 /audio
parent4b7af62111041bff3da91dbae45d15925237de89 (diff)
downloadfreebsd-ports-gnome-1c5cbb5ec302acdedb7f92cab8ef3e868ad3e036.tar.gz
freebsd-ports-gnome-1c5cbb5ec302acdedb7f92cab8ef3e868ad3e036.tar.zst
freebsd-ports-gnome-1c5cbb5ec302acdedb7f92cab8ef3e868ad3e036.zip
upgrade to 0.12
PR: 45437 Submitted by: Ports Fury
Diffstat (limited to 'audio')
-rw-r--r--audio/darkice/Makefile17
-rw-r--r--audio/darkice/distinfo2
-rw-r--r--audio/darkice/files/patch-src_TcpSocket.cpp15
-rw-r--r--audio/darkice/pkg-comment2
4 files changed, 16 insertions, 20 deletions
diff --git a/audio/darkice/Makefile b/audio/darkice/Makefile
index b59d8700240e..8ecd148839d4 100644
--- a/audio/darkice/Makefile
+++ b/audio/darkice/Makefile
@@ -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 @@ MAINTAINER= ports@FreeBSD.org
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 --git a/audio/darkice/distinfo b/audio/darkice/distinfo
index 353f546632d2..8455d414da2a 100644
--- a/audio/darkice/distinfo
+++ b/audio/darkice/distinfo
@@ -1 +1 @@
-MD5 (darkice-0.11.tar.gz) = a5cf35c58bfe5eacd95ee991ce8feed2
+MD5 (darkice-0.12.tar.gz) = a28af863edaab12366a5b66b167b8fd6
diff --git a/audio/darkice/files/patch-src_TcpSocket.cpp b/audio/darkice/files/patch-src_TcpSocket.cpp
deleted file mode 100644
index 706c8ca7bee2..000000000000
--- a/audio/darkice/files/patch-src_TcpSocket.cpp
+++ /dev/null
@@ -1,15 +0,0 @@
-
-$FreeBSD$
-
---- 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 --git a/audio/darkice/pkg-comment b/audio/darkice/pkg-comment
index 274097213cce..3478295624dd 100644
--- a/audio/darkice/pkg-comment
+++ b/audio/darkice/pkg-comment
@@ -1 +1 @@
-DarkIce is an IceCast, IceCast2 and ShoutCast live audio streamer
+An IceCast, IceCast2 and ShoutCast live audio streamer