From owner-freebsd-ports@FreeBSD.ORG Tue Jan 21 22:45:30 2014 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EEC07E33 for ; Tue, 21 Jan 2014 22:45:30 +0000 (UTC) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [46.4.40.135]) by mx1.freebsd.org (Postfix) with ESMTP id B0C5D116D for ; Tue, 21 Jan 2014 22:45:30 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:396f:111a:890d:cdd5]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPSA id 36C1F4AC3A for ; Wed, 22 Jan 2014 02:45:29 +0400 (MSK) Date: Wed, 22 Jan 2014 02:45:25 +0400 From: Lev Serebryakov Organization: FreeBSD X-Priority: 3 (Normal) Message-ID: <1603752718.20140122024525@serebryakov.spb.ru> To: ports@FreeBSD.org Subject: How to determine type of system compiler in port? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: lev@FreeBSD.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jan 2014 22:45:31 -0000 Hello, Ports. I want to turn off some clang-specific warnings via CFLAGS, as I'm not able to patch all places when "dirty" (but valid!) code is used and upstream software uses "-Werror"... I could not find any mentions of "clang" in bsd.port.mk and COMPILER_TYPE is not defined for ports. Yes, I understand, that it is better to report these errors upstream, and, in fact, these warnings were fixed in latest version but I need to port previous one! -- // Black Lion AKA Lev Serebryakov