From owner-freebsd-ports@FreeBSD.ORG Wed Mar 20 17:12:39 2013 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 68F6486A for ; Wed, 20 Mar 2013 17:12:39 +0000 (UTC) (envelope-from gary@hayers.org) Received: from mailout.easydns.com (mailout.easydns.com [64.68.200.141]) by mx1.freebsd.org (Postfix) with ESMTP id E7B6A6AC for ; Wed, 20 Mar 2013 17:12:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mailout.easydns.com (Postfix) with ESMTP id 41F18E1EA for ; Wed, 20 Mar 2013 13:12:31 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at mailout.easydns.com Received: from mailout.easydns.com ([127.0.0.1]) by localhost (mailout.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JAiuoZ6jWCxx for ; Wed, 20 Mar 2013 13:12:29 -0400 (EDT) Received: from ares.hayers.org (cpc1-tilb7-2-0-cust218.basl.cable.virginmedia.com [94.168.104.219]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout.easydns.com (Postfix) with ESMTPSA id AC462E1EC for ; Wed, 20 Mar 2013 13:12:29 -0400 (EDT) Received: from ares.hayers.org (MX1.Hayers.ORG [127.0.0.1]) by ares.hayers.org (Postfix) with ESMTP id F34957022AD for ; Wed, 20 Mar 2013 17:12:27 +0000 (GMT) X-Virus-Scanned: HCF running on mx1.hayers.org Received: from ares.hayers.org ([127.0.0.1]) by ares.hayers.org (mx1.hayers.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Rg9bo5DrPLMB for ; Wed, 20 Mar 2013 17:12:15 +0000 (GMT) Received: from [192.168.8.2] (Zeus.Hayers.ORG [192.168.8.2]) (Authenticated sender: gary) by ares.hayers.org (Postfix) with ESMTPA id 7D411702254 for ; Wed, 20 Mar 2013 17:12:15 +0000 (GMT) Message-ID: <5149EDD8.6010005@hayers.org> Date: Wed, 20 Mar 2013 17:11:52 +0000 From: "Gary J. Hayers" User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130307 Thunderbird/17.0.4 MIME-Version: 1.0 To: ports@freebsd.org Subject: Makefile for different ARCH Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Mar 2013 17:12:39 -0000 Hi, So I have a port I'm working on that has different distfiles for different ARCH ie: i386 = foo.tar.Z amd64 = foo.amd64.tar.Z What is the best way for my makefile to choose the right distfile dependant on what ARCH the port is being install on? Hope I have conveyed that clearly. Many thanks, -- Regards, Gary J. Hayers gary@hayers.org PGP Signature http://www.hayers.org/pgp