ports/51540: [update orphaned port] : audio/darkice
KATO Tsuguru
tkato at prontomail.com
Tue Apr 29 06:00:25 UTC 2003
The following reply was made to PR ports/51540; it has been noted by GNATS.
From: KATO Tsuguru <tkato at prontomail.com>
To: FreeBSD-gnats-submit at FreeBSD.org
Cc: sheepkiller at cultdeadsheep.org
Subject: Re: ports/51540: [update orphaned port] : audio/darkice
Date: Tue, 29 Apr 2003 14:51:13 +0900
Following patch would be more appropriate:
diff -urN /usr/ports/audio/darkice/Makefile audio/darkice/Makefile
--- /usr/ports/audio/darkice/Makefile Sat Apr 12 22:35:24 2003
+++ audio/darkice/Makefile Tue Apr 29 07:09:45 2003
@@ -7,7 +7,7 @@
#
PORTNAME= darkice
-PORTVERSION= 0.13
+PORTVERSION= 0.13.1
CATEGORIES= audio net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -21,7 +21,6 @@
USE_REINPLACE= yes
GNU_CONFIGURE= yes
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}
@@ -29,6 +28,7 @@
MAN5= darkice.cfg.5
post-patch:
- @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
+ s|-D_THREAD_SAFE|${PTHREAD_CFLAGS}|g' ${WRKSRC}/configure
.include <bsd.port.mk>
diff -urN /usr/ports/audio/darkice/distinfo audio/darkice/distinfo
--- /usr/ports/audio/darkice/distinfo Wed Feb 12 19:10:48 2003
+++ audio/darkice/distinfo Tue Apr 29 06:59:45 2003
@@ -1 +1 @@
-MD5 (darkice-0.13.tar.gz) = ddf0df78db85278eac4964d7c15ce3ea
+MD5 (darkice-0.13.1.tar.gz) = d6a11d63e1d97f7bbf68c76269a434a4
diff -urN /usr/ports/audio/darkice/files/patch-src_Makefile.in audio/darkice/files/patch-src_Makefile.in
--- /usr/ports/audio/darkice/files/patch-src_Makefile.in Tue Aug 13 06:01:56 2002
+++ audio/darkice/files/patch-src_Makefile.in Tue Apr 29 07:19:00 2003
@@ -1,14 +1,14 @@
$FreeBSD: ports/audio/darkice/files/patch-src_Makefile.in,v 1.1 2002/08/12 21:01:56 naddy Exp $
---- 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 @@
+--- src/Makefile.in.orig Thu Feb 13 00:50:42 2003
++++ src/Makefile.in Tue Apr 29 07:00:51 2003
+@@ -80,7 +80,7 @@
am__quote = @am__quote@
install_sh = @install_sh@
bin_PROGRAMS = darkice
--CXXFLAGS = -O2 -pedantic -Wall
-+CXXFLAGS = @CXXFLAGS@
+-CXXFLAGS = -O2 -pedantic -Wall @PTHREAD_CFLAGS@
++CXXFLAGS = @CXXFLAGS@ @PTHREAD_CFLAGS@
INCLUDES = @LAME_INCFLAGS@ @VORBIS_INCFLAGS@
- LDADD = @LAME_LDFLAGS@ @VORBIS_LDFLAGS@
+ LDADD = @PTHREAD_LIBS@ @LAME_LDFLAGS@ @VORBIS_LDFLAGS@
More information about the freebsd-ports-bugs
mailing list