xmms-wma on amd64
Vladimir Kushnir
vkushnir at i.kiev.ua
Tue Oct 18 14:30:31 PDT 2005
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
More information about the freebsd-ports
mailing list