From owner-freebsd-amd64@FreeBSD.ORG Sat Apr 2 08:19:27 2005 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6BD3D16A4CE; Sat, 2 Apr 2005 08:19:27 +0000 (GMT) Received: from ares.wolfpond.org (ns1.wolfpond.org [62.212.96.219]) by mx1.FreeBSD.org (Postfix) with ESMTP id EDDDE43D3F; Sat, 2 Apr 2005 08:19:25 +0000 (GMT) (envelope-from ftigeot@wolfpond.org) Received: from aoi.wolfpond.org (aoi.wolfpond.org [IPv6:2001:7a8:24db:1:20c:76ff:feb4:27e1]) by ares.wolfpond.org (8.13.3/8.13.3) with ESMTP id j328JJka005884; Sat, 2 Apr 2005 10:19:19 +0200 (CEST) (envelope-from ftigeot@aoi.wolfpond.org) Received: from aoi.wolfpond.org (localhost [127.0.0.1]) by aoi.wolfpond.org (8.13.3/8.13.1) with ESMTP id j328JQmh074530; Sat, 2 Apr 2005 10:19:26 +0200 (CEST) (envelope-from ftigeot@aoi.wolfpond.org) Received: (from ftigeot@localhost) by aoi.wolfpond.org (8.13.3/8.13.1/Submit) id j328JQk1074529; Sat, 2 Apr 2005 10:19:26 +0200 (CEST) (envelope-from ftigeot) Date: Sat, 2 Apr 2005 10:19:26 +0200 From: Francois Tigeot To: "David O'Brien" Message-ID: <20050402081925.GB38154@aoi.wolfpond.org> References: <790a9fff050331080572081eb6@mail.gmail.com> <2fd864e05033109061a68554d@mail.gmail.com> <20050331203915.GH1687@dragon.NUXI.org> <20050331155046.21a5d323@dolphin.local.net> <20050401055721.GA72973@aoi.wolfpond.org> <20050402011541.GA33607@dragon.NUXI.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050402011541.GA33607@dragon.NUXI.org> User-Agent: Mutt/1.4.2.1i cc: freebsd-amd64@freebsd.org Subject: Re: Working and broken Linux ports on amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Apr 2005 08:19:27 -0000 On Fri, Apr 01, 2005 at 05:15:41PM -0800, David O'Brien wrote: > On Fri, Apr 01, 2005 at 07:57:21AM +0200, Francois Tigeot wrote: > > This one can be fixed by the patch in this PR: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/79009 > > The patch isn't quite right -- don't [re]define MACHINE_ARCH, change any > instance of "MACHINE_ARCH" to "ARCH". This part is for graphics/linux-jpeg. This port includes the Makefile of x11-toolkits/linux-gtk instead of bsd.port.{post|pre}.mk . With the current port, MACHINE_ARCH is defined and ARCH is not. I believe ARCH is defined in bsd.port.pre.mk. Since bsd.port.pre.mk cannot be included twice, I would need to copy most of the content of x11-toolkits/linux-gtk/Makefile into linux-jpeg/Makefile just to use the ARCH variable. I would like to avoid this if there is a better way. -- Francois Tigeot