From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Feb 19 19:20:05 2004 Return-Path: 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 4B4B016A4CF for ; Thu, 19 Feb 2004 19:20:05 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F3CB43D31 for ; Thu, 19 Feb 2004 19:20:05 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i1K3K4bv017401 for ; Thu, 19 Feb 2004 19:20:04 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i1K3K40t017400; Thu, 19 Feb 2004 19:20:04 -0800 (PST) (envelope-from gnats) Resent-Date: Thu, 19 Feb 2004 19:20:04 -0800 (PST) Resent-Message-Id: <200402200320.i1K3K40t017400@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, Hendrik Scholz Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E64D816A4CE for ; Thu, 19 Feb 2004 19:16:16 -0800 (PST) Received: from mail.atl.us.wormulon.net (unknown [63.223.8.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD96F43D2D for ; Thu, 19 Feb 2004 19:16:16 -0800 (PST) (envelope-from hscholz@slurmcan.wormulon.net) Received: from localhost (unknown [63.223.8.130]) by mail.atl.us.wormulon.net (Postfix) with ESMTP id 94AB65D9A1; Thu, 19 Feb 2004 22:16:51 -0500 (EST) Received: from mail.atl.us.wormulon.net ([63.223.8.130]) by localhost (plant.wormulon.net [63.223.8.130]) (amavisd-new, port 10024) with ESMTP id 00887-03; Thu, 19 Feb 2004 22:16:51 -0500 (EST) Received: from slurmcan.wormulon.net (unknown [63.223.7.6]) by mail.atl.us.wormulon.net (Postfix) with ESMTP id 8D0645D99F; Thu, 19 Feb 2004 22:16:48 -0500 (EST) Received: by slurmcan.wormulon.net (Postfix, from userid 1001) id 7C12D39845; Thu, 19 Feb 2004 22:16:30 -0500 (EST) Message-Id: <20040220031630.7C12D39845@slurmcan.wormulon.net> Date: Thu, 19 Feb 2004 22:16:30 -0500 (EST) From: Hendrik Scholz To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: r2@music.lt cc: brianv@phreaker.net Subject: ports/63103: amd64-fix: audio/xmms-mp3cue X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Hendrik Scholz List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Feb 2004 03:20:05 -0000 >Number: 63103 >Category: ports >Synopsis: amd64-fix: audio/xmms-mp3cue >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Feb 19 19:20:04 PST 2004 >Closed-Date: >Last-Modified: >Originator: Hendrik Scholz >Release: FreeBSD 5.2.1-RC amd64 >Organization: >Environment: System: FreeBSD slurmcan.wormulon.net 5.2.1-RC FreeBSD 5.2.1-RC #0: Sat Jan 31 12:38:34 GMT 2004 root@ngoc.NUXI.com:/usr/obj/usr/src/sys/GENERIC amd64 >Description: bento reports the usual -fPIC problem: http://bento.freebsd.org/errorlogs/amd64-5-latest/xmms-mp3cue-0.94.log The port does not honor the CFLAGS environment variable so we have to add this in configure.in and run autoconf on amd64. CC'ed to author. Brian: Just add the CFLAGS="$CFLAGS $XMMS_CFLAGS" line to your configure.in and you should be fine. >How-To-Repeat: >Fix: --- xmms-mp3cue.diff begins here --- Index: Makefile =================================================================== RCS file: /home/FreeBSD-CVS/ports/audio/xmms-mp3cue/Makefile,v retrieving revision 1.1 diff -u -r1.1 Makefile --- Makefile 14 Feb 2004 14:44:20 -0000 1.1 +++ Makefile 20 Feb 2004 03:12:20 -0000 @@ -23,7 +23,13 @@ PLIST_SUB= PORTDOCS=${DISTNAME} +.include +.if ${ARCH} == "amd64" +CONFIGURE_ENV= CFLAGS="-fPIC" CPPFLAGS="-fPIC" +USE_AUTOCONF= yes +.endif + post-patch: @${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/*.c -.include +.include --- xmms-mp3cue.diff ends here --- files/patch-configure.in: --- configure.in.orig Thu Feb 19 22:06:49 2004 +++ configure.in Thu Feb 19 22:07:03 2004 @@ -23,7 +23,7 @@ AC_MSG_CHECKING("XMMS cflags") XMMS_CFLAGS=`xmms-config --cflags` -CFLAGS="$XMMS_CFLAGS" +CFLAGS="$CFLAGS $XMMS_CFLAGS" AC_MSG_RESULT(yes) AC_MSG_CHECKING("XMMS installpath") >Release-Note: >Audit-Trail: >Unformatted: