From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Jul 8 19:30:17 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 28F1816A4EB for ; Sat, 8 Jul 2006 19:30:17 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D2AE43D4C for ; Sat, 8 Jul 2006 19:30:16 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k68JUGAp098420 for ; Sat, 8 Jul 2006 19:30:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k68JUGxx098419; Sat, 8 Jul 2006 19:30:16 GMT (envelope-from gnats) Resent-Date: Sat, 8 Jul 2006 19:30:16 GMT Resent-Message-Id: <200607081930.k68JUGxx098419@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Michael Johnson Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 420AE16A4DA for ; Sat, 8 Jul 2006 19:24:22 +0000 (UTC) (envelope-from ahze@blueherron.ahze.net) Received: from imf23aec.mail.bellsouth.net (imf23aec.mail.bellsouth.net [205.152.59.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC51843D49 for ; Sat, 8 Jul 2006 19:24:21 +0000 (GMT) (envelope-from ahze@blueherron.ahze.net) Received: from ibm66aec.bellsouth.net ([68.209.163.3]) by imf23aec.mail.bellsouth.net with ESMTP id <20060708192420.EVLN28176.imf23aec.mail.bellsouth.net@ibm66aec.bellsouth.net> for ; Sat, 8 Jul 2006 15:24:20 -0400 Received: from blueherron.ahze.net ([68.209.163.3]) by ibm66aec.bellsouth.net with ESMTP id <20060708192411.DLEA18054.ibm66aec.bellsouth.net@blueherron.ahze.net>; Sat, 8 Jul 2006 15:24:11 -0400 Received: (from root@localhost) by blueherron.ahze.net (8.13.6/8.13.6/Submit) id k68FQROO018798; Sat, 8 Jul 2006 15:26:27 GMT (envelope-from ahze) Message-Id: <200607081526.k68FQROO018798@blueherron.ahze.net> Date: Sat, 8 Jul 2006 15:26:27 GMT From: Michael Johnson To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: r.c.ladan@gmail.com Subject: ports/99923: [PATCH] audio/xmms-wma: fix build on sparc64 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Jul 2006 19:30:17 -0000 >Number: 99923 >Category: ports >Synopsis: [PATCH] audio/xmms-wma: fix build on sparc64 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Jul 08 19:30:15 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Michael Johnson >Release: >Organization: >Environment: >Description: - Fix build on sparc64 Port maintainer (r.c.ladan@gmail.com) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- xmms-wma-1.0.5.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/audio/xmms-wma/Makefile,v retrieving revision 1.22 diff -u -r1.22 Makefile --- Makefile 25 May 2006 20:57:32 -0000 1.22 +++ Makefile 8 Jul 2006 14:44:42 -0000 @@ -18,9 +18,7 @@ USE_BZIP2= yes USE_GMAKE= yes USE_X_PREFIX= yes -CFLAGS+= -fpic -DPIC - -ONLY_FOR_ARCHS= i386 amd64 +CFLAGS+= -fPIC -DPIC PLIST_FILES= lib/xmms/Input/libwma.so @@ -29,6 +27,8 @@ USE_ICONV= yes .endif +.include + pre-everything:: .if !defined(WITH_ICONV) @${ECHO_MSG} "You may specify the following on the command line:" @@ -41,5 +41,9 @@ @${REINPLACE_CMD} -e 's|gcc|${CC}|g' ${WRKSRC}/Makefile.inc @${REINPLACE_CMD} -e 's|gcc|${CC}|g' ${WRKSRC}/ffmpeg-strip-wma/config.mak @${REINPLACE_CMD} -e 's|CFLAGS :=|CFLAGS := ${CFLAGS}|g' ${WRKSRC}/Makefile.inc +.if ${ARCH}=="sparc64" + @${REINPLACE_CMD} -e 's|X86|SPARC64|' ${WRKSRC}/ffmpeg-strip-wma/config.mak + @${REINPLACE_CMD} -e 's|#define ARCH_X86 1|#define ARCH_SPARC64 1|' ${WRKSRC}/ffmpeg-strip-wma/config.h +.endif -.include +.include --- xmms-wma-1.0.5.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: