summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2002-08-12 21:01:56 +0000
committernaddy <naddy@FreeBSD.org>2002-08-12 21:01:56 +0000
commit1f753e24503ec6ff4caa3d16d8cb88d801d925a6 (patch)
tree847e9f4ba6e6372b24250265e00148cbb75016f5
parentd6bc8b71cd009d4198d1d4a536f6e0b690d582db (diff)
downloadFreeBSD-ports-1f753e24503ec6ff4caa3d16d8cb88d801d925a6.zip
FreeBSD-ports-1f753e24503ec6ff4caa3d16d8cb88d801d925a6.tar.gz
Update to 0.10.1.
PR: 41499 Submitted by: Ports Fury
-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 ce398e0..050ac28 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 9402ec4..a397a02 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 0000000..a42f9d1
--- /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 0000000..706c8ca
--- /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"
OpenPOWER on IntegriCloud