[MPlayer-dev-eng] [PATCH] Recognize some more OpenBSD architecure ports

Brad Smith brad at comstyle.com
Tue Dec 10 22:21:17 CET 2013


On 10/12/13 2:54 PM, Reimar Döffinger wrote:
> On Mon, Dec 09, 2013 at 07:30:34PM -0500, Brad Smith wrote:
>> -      macppc|ppc*|Power*) host_arch=ppc ;;
>> +      *ppc*|Power*) host_arch=ppc ;;
>
> I don't like this, it seems to generic.
> It's hard to come up with convincing examples since I'll have to make up
> names, but e.g. things like tulippc or apppc would be recognized as
> PowerPC like this.
> And since due to the uname mess we have to use "uname -m"
> there might be some unusual names.

Ok, well I was going to initially just add socppc but then I thought
maybe I can make it a bit simpler and more generic. I don't like having
hard coded lists of what are machine ports as opposed to a generic 
architecture in configure-like or autoconf scripts if possible. With
OpenBSD the proper way to retrieve the machine arch is using "arch -s".


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the MPlayer-dev-eng mailing list