Bug 51540 - [update orphaned port] : audio/darkice
Summary: [update orphaned port] : audio/darkice
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-29 03:00 UTC by Clement Laforet
Modified: 2003-06-27 07:39 UTC (History)
1 user (show)

See Also:


Attachments
darkice.diff (1.56 KB, patch)
2003-04-29 03:00 UTC, Clement Laforet
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Clement Laforet 2003-04-29 03:00:21 UTC
	update darkice to 0.13.1

How-To-Repeat: 	N/A
Comment 1 tkato 2003-04-29 06:51:13 UTC
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@
Comment 2 Daichi GOTO freebsd_committer freebsd_triage 2003-06-27 07:39:17 UTC
State Changed
From-To: open->closed

Committed. Thanks!