Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Oct 2005 00:30:24 +0300 (EEST)
From:      Vladimir Kushnir <vkushnir@i.kiev.ua>
To:        Roman Bogorodskiy <novel@freebsd.org>
Cc:        ports@freebsd.org, "Andrew P." <infofarmer@gmail.com>, Bill Schoolcraft <bill@wiliweld.com>
Subject:   Re: xmms-wma on amd64
Message-ID:  <20051019002436.T73530@kushnir1.kiev.ua>
In-Reply-To: <20051018035955.GA650@lame.novel.ru>
References:  <cb5206420510170106n77820d71t2af09a06b1af7d6e@mail.gmail.com> <20051017160446.GA16644@lame.novel.ru> <20051018003336.V1230@kushnir1.kiev.ua> <20051018035955.GA650@lame.novel.ru>

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051019002436.T73530>