aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2002-08-12 21:01:56 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2002-08-12 21:01:56 +0000
commit6a9c7630b6c43bb40f8a334b6db678c01180d43e (patch)
tree26fef27ac9732b7b465d7f28ff0310a119075d81 /audio
parent567e2719bf728c45e35d7c3f95903993a20ef136 (diff)
downloadports-6a9c7630b6c43bb40f8a334b6db678c01180d43e.tar.gz
ports-6a9c7630b6c43bb40f8a334b6db678c01180d43e.zip
Notes
Diffstat (limited to 'audio')
-rw-r--r--audio/darkice/Makefile18
-rw-r--r--audio/darkice/distinfo2
-rw-r--r--audio/darkice/files/patch-src_Makefile.in14
-rw-r--r--audio/darkice/files/patch-src_TcpSocket.cpp15
4 files changed, 44 insertions, 5 deletions
diff --git a/audio/darkice/Makefile b/audio/darkice/Makefile
index ce398e0b2407..050ac285734c 100644
--- a/audio/darkice/Makefile
+++ b/audio/darkice/Makefile
@@ -7,22 +7,32 @@
#
PORTNAME= darkice
-PORTVERSION= 0.8
-PORTREVISION= 1
+PORTVERSION= 0.10.1
CATEGORIES= audio net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
-LIB_DEPENDS= mp3lame:${PORTSDIR}/audio/lame-devel \
+LIB_DEPENDS= mp3lame.0:${PORTSDIR}/audio/lame \
vorbis.2:${PORTSDIR}/audio/libvorbis
GNU_CONFIGURE= yes
+CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
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} < 500035
+CXXFLAGS:= ${CXXFLAGS:N-O*}
+.endif
+
+# alternatively:
+#
+#USE_GCC= 3.1
+
+.include <bsd.port.post.mk>
diff --git a/audio/darkice/distinfo b/audio/darkice/distinfo
index 9402ec4a90e7..a397a02ddd2a 100644
--- a/audio/darkice/distinfo
+++ b/audio/darkice/distinfo
@@ -1 +1 @@
-MD5 (darkice-0.8.tar.gz) = 6e302d6626ec5d79890ad3d2fa6184e8
+MD5 (darkice-0.10.1.tar.gz) = a92704124f3b8045e4e7fe122f9549fc
diff --git a/audio/darkice/files/patch-src_Makefile.in b/audio/darkice/files/patch-src_Makefile.in
new file mode 100644
index 000000000000..a42f9d18b029
--- /dev/null
+++ b/audio/darkice/files/patch-src_Makefile.in
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- src/Makefile.in.orig Sat Aug 10 14:06:29 2002
++++ src/Makefile.in Sat Aug 10 14:06:54 2002
+@@ -75,7 +75,7 @@
+ am__quote = @am__quote@
+ install_sh = @install_sh@
+ bin_PROGRAMS = darkice
+-CXXFLAGS = -O2 -pedantic -Wall
++CXXFLAGS = @CXXFLAGS@
+ INCLUDES = @LAME_INCFLAGS@ @VORBIS_INCFLAGS@
+ LDADD = @LAME_LDFLAGS@ @VORBIS_LDFLAGS@
+
diff --git a/audio/darkice/files/patch-src_TcpSocket.cpp b/audio/darkice/files/patch-src_TcpSocket.cpp
new file mode 100644
index 000000000000..706c8ca7bee2
--- /dev/null
+++ b/audio/darkice/files/patch-src_TcpSocket.cpp
@@ -0,0 +1,15 @@
+
+$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"