Building mplayer on 9.1-PRERELEASE host architecture "UNKNOWN"
Michael Copeland
michael at kryptos-security.com
Sat Oct 6 22:45:57 UTC 2012
I sent it.
stated that simply running make install results in the architecture unknown
error.
for the fix section, i put this:
edit configure script in work/mplayer-export-2012-07-21
find section
# host's CPU/instruction set
patch section macppc|ppc*|Power*) host_arch=ppc ;;
with macppc|ppc*|Power*|powerpc) host_arch=ppc ;;
changing system var UNAME_m to ppc would also work, but this may break
other ports.
On Sat, Oct 6, 2012 at 6:43 PM, Justin Hibbits <chmeeedalf at gmail.com> wrote:
> On Sat, 6 Oct 2012 18:38:36 -0400
> Michael Copeland <michael at kryptos-security.com> wrote:
>
> > Sure, I'll be glad to do it. Is there a certain format to follow?
>
> Not really, you can look at other PRs if you want some ideas. A patch
> to attach would be best, and set the category to ports since it's a
> bug in third-party software. You may also want to notify upstream, so it
> can be fixed in the original source.
>
> >
> > On Sat, Oct 6, 2012 at 5:21 PM, Justin Hibbits <chmeeedalf at gmail.com>
> > wrote:
> >
> > > On Sat, 6 Oct 2012 15:37:34 -0400
> > > Michael Copeland <michael at kryptos-security.com> wrote:
> > >
> > > > Configure script fails when detecting $host_arch.
> > > >
> > > > guilty part is:
> > > >
> > > > # host's CPU/instruction set
> > > > case "$(uname -m 2>&1)" in
> > > >
> > > >
> > >
> x86_64|amd64|i[3-9]86*|i86pc|x86|x86pc|k5|k6|k6_2|k6_3|k6-2|k6-3|pentium*|athlon*|i586_i686|i586-i686)
> > > > host_arch=i386 ;;
> > > > ia64) host_arch=ia64 ;;
> > > > macppc|ppc*|Power*) host_arch=ppc ;;
> > > >
> > > >
> > > > uname -m gives us powerpc, this isn't here, so add it.
> > > >
> > > >
> > > > # host's CPU/instruction set
> > > > case "$(uname -m 2>&1)" in
> > > >
> > > >
> > >
> x86_64|amd64|i[3-9]86*|i86pc|x86|x86pc|k5|k6|k6_2|k6_3|k6-2|k6-3|pentium*|athlon*|i586_i686|i586-i686)
> > > > host_arch=i386 ;;
> > > > ia64) host_arch=ia64 ;;
> > > > macppc|ppc*|Power*|powerpc) host_arch=ppc ;;
> > > >
> > > >
> > > > builds and installs now.
> > > > _______________________________________________
> > > > freebsd-ppc at freebsd.org mailing list
> > > > http://lists.freebsd.org/mailman/listinfo/freebsd-ppc
> > > > To unsubscribe, send any mail to
> > > > "freebsd-ppc-unsubscribe at freebsd.org"
> > >
> > > Can you file a PR for this? This way the ports team can see it and
> > > track it.
> > >
> > > - Justin
> > >
>
> - Justin
>
More information about the freebsd-ppc
mailing list