From owner-freebsd-ports@FreeBSD.ORG Tue Oct 18 21:30:31 2005 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 72A2E16A41F; Tue, 18 Oct 2005 21:30:31 +0000 (GMT) (envelope-from vkushnir@i.kiev.ua) Received: from horse.iptelecom.net.ua (horse.iptelecom.net.ua [212.9.224.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 68F6A43D45; Tue, 18 Oct 2005 21:30:30 +0000 (GMT) (envelope-from vkushnir@i.kiev.ua) Received: from h146.243.159.dialup.iptcom.net ([213.159.243.146]:16323 "EHLO kushnir1.kiev.ua" ident: "SOCKFAULT1" whoson: "vkushnir") by horse.iptelecom.net.ua with ESMTP id S1219487AbVJRVa2 (ORCPT + 1 other); Wed, 19 Oct 2005 00:30:28 +0300 Received: from kushnir1.kiev.ua (kushnir1.kiev.ua [10.0.0.1]) by kushnir1.kiev.ua (8.13.4/8.13.3) with ESMTP id j9ILUO1q074662; Wed, 19 Oct 2005 00:30:24 +0300 (EEST) (envelope-from vkushnir@i.kiev.ua) Date: Wed, 19 Oct 2005 00:30:24 +0300 (EEST) From: Vladimir Kushnir X-X-Sender: vkushnir@kushnir1.kiev.ua To: Roman Bogorodskiy In-Reply-To: <20051018035955.GA650@lame.novel.ru> Message-ID: <20051019002436.T73530@kushnir1.kiev.ua> References: <20051017160446.GA16644@lame.novel.ru> <20051018003336.V1230@kushnir1.kiev.ua> <20051018035955.GA650@lame.novel.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: ports@freebsd.org, "Andrew P." , Bill Schoolcraft Subject: Re: xmms-wma on amd64 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Oct 2005 21:30:31 -0000 On Tue, 18 Oct 2005, Roman Bogorodskiy wrote: > Vladimir wrote: > >> For me, it works (patch doesn't apply cleanly but the method is precisely >> the same) for audio/bmp-wma. With audio/xmms-wma it somehow doesn't pick >> up CFLAGS :-( > > Ok, here's a patch for bmp-wma which should apply clean: > http://people.freebsd.org/~novel/patches/freebsd/port.bmp-wma.amd64.diff > > As for xmms-wma, can you post output of `make -V CFLAGS' in xmms-wma > port dir? > > Roman Bogorodskiy > CFLAGS itself is perfectly all right: make -v CFLAGS -O2 -fno-strict-aliasing -pipe -march=athlon64 -fpic -DPIC It's just that this doesn't propagate to ffmpeg-strip-wma's Makefile. If I add a line to post-extract target (plus your patch, of course) post-extract: @${REINPLACE_CMD} -e 's|gcc|${CC}|g' ${WRKSRC}/Makefile.inc + @${REINPLACE_CMD} -e 's|CFLAGS :=|CFLAGS := ${CFLAGS}|g' ${WRKSRC}/Makefile.inc @${REINPLACE_CMD} -e 's|gcc|${CC}|g' ${WRKSRC}/ffmpeg-strip-wma/config.mak then everything builds. Regards, Vladimir