From owner-freebsd-ports@FreeBSD.ORG Mon Aug 21 22:15:51 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3526616A4DA; Mon, 21 Aug 2006 22:15:51 +0000 (UTC) (envelope-from jaj13@web.de) Received: from fmmailgate01.web.de (fmmailgate01.web.de [217.72.192.221]) by mx1.FreeBSD.org (Postfix) with ESMTP id C534C43D45; Mon, 21 Aug 2006 22:15:48 +0000 (GMT) (envelope-from jaj13@web.de) Received: from smtp08.web.de (fmsmtp08.dlan.cinetic.de [172.20.5.216]) by fmmailgate01.web.de (Postfix) with ESMTP id 53E63152A9B0; Tue, 22 Aug 2006 00:15:25 +0200 (CEST) Received: from [83.99.89.191] (helo=[10.0.0.11]) by smtp08.web.de with esmtp (WEB.DE 4.107 #114) id 1GFI3I-0001XT-00; Tue, 22 Aug 2006 00:15:25 +0200 Message-ID: <44EA307C.6070403@web.de> Date: Tue, 22 Aug 2006 00:15:24 +0200 From: Jona Joachim User-Agent: Thunderbird 1.5.0.5 (X11/20060730) MIME-Version: 1.0 To: shaun@FreeBSD.org, freebsd-ports@FreeBSD.org References: <44EA14CA.7070604@web.de> <20060821215144.GA2649@picobyte.net> In-Reply-To: <20060821215144.GA2649@picobyte.net> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: jaj13@web.de X-Sender: jaj13@web.de Cc: Subject: Re: Troubles with MASTER_SITES X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Aug 2006 22:15:51 -0000 Shaun Amott wrote: > On Mon, Aug 21, 2006 at 10:17:14PM +0200, Jona Joachim wrote: >> I must be missing something obvious with MASTER_SITES. >> If you consider the devel/tigcc port which I maintain you can read: >> >> MASTER_SITES= ${MASTER_SITE_GCC}:gcc \ >> ${MASTER_SITE_GNU}:gas \ > > The problem is that you are taking the value of ${MASTER_SITE_xxx} and > sticking the site-group on the end - i.e., on the last site in either > group. > > To fix this, change the above lines to: > > MASTER_SITES= ${MASTER_SITE_GCC:S/$/:gcc/} \ > ${MASTER_SITE_GNU:S/$/:gas/} \ > > This will attach :gcc and :gas to the end of each individual site. That did the trick. I should have read this part of the Porter's Handbook more carefully. Thanks a lot!