From owner-freebsd-ppc@FreeBSD.ORG Sat Oct 6 22:45:57 2012 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B453A106566B for ; Sat, 6 Oct 2012 22:45:57 +0000 (UTC) (envelope-from michael@kryptos-security.com) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 641DF8FC12 for ; Sat, 6 Oct 2012 22:45:56 +0000 (UTC) Received: by mail-vb0-f54.google.com with SMTP id v11so3914263vbm.13 for ; Sat, 06 Oct 2012 15:45:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=IktuBd6fhhpyQlZV3Sxq9sB/CFuU9VYsBaRxzWjgzdM=; b=hYZ7UBsODqj9Z7jwD4a7ORUaVYmUPTu4AYCPpbkBFWAu5gR4yj8BJy7i9017S5YhIL HINLj5/gqCV6qpajVmU8JQNiXqcKLqQvFB5hhO0amw0VUGLNABfXdmj99rPJsdoRWPh+ y9NJkJw0KeJgZ09MaanvcsA+pK1SmKTErupenk1dURkI/cIIL0KhWaxO1fEGWZJvZ3gt 4wy8oBDpct5RQHimGNKl2/YuU5Tw6z4TGCMQyTqPKRkX5xA5vaXyz/wjr+NHaQQQP8u2 XVzZQpPJD1g4LuWKM6L4X3nC23ZD23c9XfKWYfqXlhBTxoChkqbeZAVhI+fUacp5J5U6 7RVw== MIME-Version: 1.0 Received: by 10.220.221.72 with SMTP id ib8mr7280812vcb.25.1349563556181; Sat, 06 Oct 2012 15:45:56 -0700 (PDT) Received: by 10.58.69.75 with HTTP; Sat, 6 Oct 2012 15:45:56 -0700 (PDT) X-Originating-IP: [98.231.6.79] In-Reply-To: <20121006184309.0749c6d8@narn.knownspace> References: <20121006172111.2d81b737@narn.knownspace> <20121006184309.0749c6d8@narn.knownspace> Date: Sat, 6 Oct 2012 18:45:56 -0400 Message-ID: From: Michael Copeland To: Justin Hibbits X-Gm-Message-State: ALoCoQmqb75pdRpkQ3sVnIw6SAwzyTrQrbAPmRTU+a/mRahSN1gGW+NZiIDcHY9y6vpcd1K6NML4 Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-ppc@freebsd.org Subject: Re: Building mplayer on 9.1-PRERELEASE host architecture "UNKNOWN" X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Oct 2012 22:45:57 -0000 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 wrote: > On Sat, 6 Oct 2012 18:38:36 -0400 > Michael Copeland 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 > > wrote: > > > > > On Sat, 6 Oct 2012 15:37:34 -0400 > > > Michael Copeland 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@freebsd.org mailing list > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-ppc > > > > To unsubscribe, send any mail to > > > > "freebsd-ppc-unsubscribe@freebsd.org" > > > > > > Can you file a PR for this? This way the ports team can see it and > > > track it. > > > > > > - Justin > > > > > - Justin >