From flz@xbsd.org  Sat Feb 19 18:18:30 2005
Return-Path: <flz@xbsd.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id 599BC16A4CE; Sat, 19 Feb 2005 18:18:30 +0000 (GMT)
Received: from smtp.xbsd.org (xbsd.org [82.233.2.192])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id EF59643D31; Sat, 19 Feb 2005 18:18:29 +0000 (GMT)
	(envelope-from flz@xbsd.org)
Received: from localhost (localhost.xbsd.org [127.0.0.1])
	by smtp.xbsd.org (Postfix) with ESMTP id 7CB7911693;
	Sat, 19 Feb 2005 19:19:48 +0100 (CET)
Received: from smtp.xbsd.org ([127.0.0.1])
 by localhost (srv1.xbsd.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP
 id 62996-05; Sat, 19 Feb 2005 19:19:41 +0100 (CET)
Received: by smtp.xbsd.org (Postfix, from userid 2001)
	id A5DB111690; Sat, 19 Feb 2005 19:19:41 +0100 (CET)
Message-Id: <20050219181941.A5DB111690@smtp.xbsd.org>
Date: Sat, 19 Feb 2005 19:19:41 +0100 (CET)
From: Florent Thoumie <flz@xbsd.org>
Reply-To: Florent Thoumie <flz@xbsd.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: krion@FreeBSD.org
Subject: Update port: audio/p5-Xmms - really fix packing list
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         77742
>Category:       ports
>Synopsis:       Update port: audio/p5-Xmms - really fix packing list
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 19 18:20:15 GMT 2005
>Closed-Date:    Sat Feb 19 18:31:11 GMT 2005
>Last-Modified:  Sat Feb 19 18:31:11 GMT 2005
>Originator:     Florent Thoumie
>Release:        FreeBSD 5.3-RELEASE i386
>Organization:
Xbsd.org
>Environment:
System: FreeBSD srv1.xbsd.org 5.3-RELEASE FreeBSD 5.3-RELEASE #2: Wed Nov 24 16:35:34 CET 2004 root@gate.xbsd.org:/usr/src/sys/i386/compile/GATE i386


	
>Description:

Fix packing list.
Remove hardcoded pthread libs.

>How-To-Repeat:
	
>Fix:

	

--- p5-Xmms.diff begins here ---
diff -ruN p5-Xmms.orig/Makefile p5-Xmms/Makefile
--- p5-Xmms.orig/Makefile	Sat Feb 19 18:50:10 2005
+++ p5-Xmms/Makefile	Sat Feb 19 18:55:34 2005
@@ -24,11 +24,21 @@
 site_perl=	${SITE_PERL}
 
 PERL_CONFIGURE=	YES
+USE_REINPLACE=	yes
 
-MAN3=		Xmms::Config.3 \
-		Xmms::Remote.3 \
+MAN3=		Xmms::Remote.3 \
 		Xmms::SongChange.3 \
 		Xmms.3 \
 		Bundle::Xmms.3
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} >= 500800
+MAN3+=		Xmms::Config.3
+.endif
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|' \
+		${WRKSRC}/SongChange/Makefile.PL
+
+.include <bsd.port.post.mk>
--- p5-Xmms.diff ends here ---


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: krion 
State-Changed-When: Sat Feb 19 18:31:05 GMT 2005 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=77742 
>Unformatted:
