Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jul 2004 09:23:46 +0400
From:      Roman Bogorodskiy <bogorodskiy@inbox.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/69044: [ maintainer ] audio/xmms-wma: patch to respect CC
Message-ID:  <E1BkcF7-000E0E-00.bogorodskiy-inbox-ru@mx2.mail.ru>
Resent-Message-ID: <200407140530.i6E5UJfc016629@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         69044
>Category:       ports
>Synopsis:       [ maintainer ] audio/xmms-wma: patch to respect CC
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 14 05:30:19 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Roman Bogorodskiy
>Release:        FreeBSD 5.2.1-RELEASE-p8 i386
>Organization:
>Environment:
System: FreeBSD lame.novel.ru 5.2.1-RELEASE-p8 FreeBSD 5.2.1-RELEASE-p8 #5: Sat Jun 19 22:04:33 MSD 2004 root@lame.novel.ru:/usr/obj/usr/src/sys/NOV i386

>Description:
	Small patch which makes xmms-wma respect CC. 
>How-To-Repeat:
>Fix:

diff -ruN xmms-wma.orig/Makefile xmms-wma/Makefile
--- xmms-wma.orig/Makefile	Wed Jul 14 09:12:31 2004
+++ xmms-wma/Makefile	Wed Jul 14 09:15:50 2004
@@ -16,6 +16,7 @@
 
 LIB_DEPENDS=	xmms.4:${PORTSDIR}/multimedia/xmms
 
+USE_REINPLACE=	yes
 USE_BZIP2=	yes
 USE_GMAKE=	yes
 USE_X_PREFIX=	yes
@@ -23,5 +24,9 @@
 ONLY_FOR_ARCHS=	i386
 
 PLIST_FILES=	lib/xmms/Input/libwma.so
+
+post-extract:
+	@${REINPLACE_CMD} -e 's|gcc|${CC}|g' ${WRKSRC}/Makefile.inc
+	@${REINPLACE_CMD} -e 's|gcc|${CC}|g' ${WRKSRC}/ffmpeg-strip-wma/config.mak
 
 .include <bsd.port.mk>


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1BkcF7-000E0E-00.bogorodskiy-inbox-ru>