ports/77742: Update port: audio/p5-Xmms - really fix packing list

Florent Thoumie flz at xbsd.org
Sat Feb 19 18:20:15 UTC 2005


>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:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 19 18:20:15 GMT 2005
>Closed-Date:
>Last-Modified:
>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 at 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:
>Unformatted:



More information about the freebsd-ports-bugs mailing list