From owner-freebsd-ports@FreeBSD.ORG Tue Jun 24 11:07:09 2014 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D150B60E for ; Tue, 24 Jun 2014 11:07:09 +0000 (UTC) Received: from mail-lb0-x22e.google.com (mail-lb0-x22e.google.com [IPv6:2a00:1450:4010:c04::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 58BB52BFE for ; Tue, 24 Jun 2014 11:07:09 +0000 (UTC) Received: by mail-lb0-f174.google.com with SMTP id u10so177337lbd.19 for ; Tue, 24 Jun 2014 04:07:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=KJ0I6AFJ4B+z9lIyIt3fMKSr7YhloBszcyRyliTajpU=; b=cNWXLt7/sb2jhfC95mHHLlV6hknanFmw7JCheMzdFp8r48rm+F2E9fJYuYsDKMy7Te Mz6GF54F8opux8YL3pAvG+cyRoXdwK/m5K6lmk2NituiqjzkAMrwcr7aASjRxZ3zATSe nDis4JufGqNOxD/ndD+IZDG/F3PJnAdUOUKhdaKoD+EaLgT0asJsbo1wNVUg9Kyltan5 IxKcRWuTZ7Icu9kEKRHX2zQzB6vhTGimd8V0ssDrcHaOzk7K1PBGnn/KavZFByF/jf4A rTGeNGUKF91RAgIf1uOpFXguJVOUd0atzHoWRiQmN7Jis9FVZrhpZ2OQtrgQqsQ+AKqQ gfww== X-Received: by 10.152.6.194 with SMTP id d2mr196906laa.54.1403608026724; Tue, 24 Jun 2014 04:07:06 -0700 (PDT) Received: from [172.29.2.131] (altimet-gw.cs2.dp.wnet.ua. [217.20.178.249]) by mx.google.com with ESMTPSA id dn8sm9154812lac.31.2014.06.24.04.07.04 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 24 Jun 2014 04:07:05 -0700 (PDT) Message-ID: <53A95BD6.6010708@gmail.com> Date: Tue, 24 Jun 2014 14:07:02 +0300 From: Vitaly Magerya User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Sergei G , ports@FreeBSD.org Subject: Re: Patch for premake 4.4 beta 5 from premake 4 References: <53A91FD6.9030205@gmail.com> In-Reply-To: <53A91FD6.9030205@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jun 2014 11:07:09 -0000 On 2014-06-24 09:51, Sergei G wrote: > I had to update Premake 4 port (4.3) to 4.4 beta 5 on FreeBSD > 10.0-RELEASE #0. I wanted to wait for the full (non-beta) 4.4 release, but seeing that some projects are already using 4.4-betas, I guess it's time to update the port... > I included patch file with changes applied to Premake 4 port. The > changes consist of: > > 1. updating version and addition of beta version in Makefile > 2. switch to clang compiler in Makefile It's better to use 'cc' instead of 'clang'; this way nothing will break in 8.x and 9.x branches where GCC is still the default. > 3. update of download file signatures > 4. removal of 2 patch files, because the files appear to be obsolete > and I could not figure out the proper fix. Keeping both patch files > resulted in error during premake execution. > > I was successful for my small scope of compiling Box2D, but I observed a > couple of issues with my upgrade. > > 3 regression tests failed (it appears due to at least one missing patch > file): > > [...] > > Once I installed premake I observed that it generated Makefile with gcc > in it, instead of clang. Should switch to clang be applied at premake or > Box2D project level? I'll need to look into that before saying anything definite; I'll report back once I'll do that.