From 1f753e24503ec6ff4caa3d16d8cb88d801d925a6 Mon Sep 17 00:00:00 2001 From: naddy Date: Mon, 12 Aug 2002 21:01:56 +0000 Subject: Update to 0.10.1. PR: 41499 Submitted by: Ports Fury --- audio/darkice/Makefile | 18 ++++++++++++++---- audio/darkice/distinfo | 2 +- audio/darkice/files/patch-src_Makefile.in | 14 ++++++++++++++ audio/darkice/files/patch-src_TcpSocket.cpp | 15 +++++++++++++++ 4 files changed, 44 insertions(+), 5 deletions(-) create mode 100644 audio/darkice/files/patch-src_Makefile.in create mode 100644 audio/darkice/files/patch-src_TcpSocket.cpp 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 +.include + +.if ${OSVERSION} < 500035 +CXXFLAGS:= ${CXXFLAGS:N-O*} +.endif + +# alternatively: +# +#USE_GCC= 3.1 + +.include 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" -- cgit v1.1