From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 19 17:25:46 2014 Return-Path: Delivered-To: hackers@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 30249502 for ; Tue, 19 Aug 2014 17:25:46 +0000 (UTC) Received: from udns.ultimatedns.net (unknown [IPv6:2602:d1:b4d6:e600:4261:86ff:fef6:aa2a]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0319C3974 for ; Tue, 19 Aug 2014 17:25:45 +0000 (UTC) Received: from udns.ultimatedns.net (localhost [127.0.0.1]) by udns.ultimatedns.net (8.14.5/8.14.5) with ESMTP id s7JHQJQg087278 for ; Tue, 19 Aug 2014 10:26:25 -0700 (PDT) (envelope-from bsd-lists@bsdforge.com) Received: (from www@localhost) by udns.ultimatedns.net (8.14.5/8.14.5/Submit) id s7JHQE0K087277; Tue, 19 Aug 2014 10:26:14 -0700 (PDT) (envelope-from bsd-lists@bsdforge.com) Received: from udns.ultimatedns.net ([2602:d1:b4d6:e600:4261:86ff:fef6:aa2a]) (UDNSMS authenticated user chrish) by ultimatedns.net with HTTP; Tue, 19 Aug 2014 10:26:14 -0700 (PDT) Message-ID: <111a1d7ff95c133065cef9eb8fcdf153.authenticated@ultimatedns.net> Date: Tue, 19 Aug 2014 10:26:14 -0700 (PDT) Subject: How to explicitly disable use of clang in ports Makefile? From: "Chris H" To: "freebsd hackers" User-Agent: UDNSMS/2.0.3 MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Aug 2014 17:25:46 -0000 Greetings, I'm on RELENG_8, and RELENG_9, so don't have access to recent versions of clang. I'm maintaing several ports, and I'm currently dealing with one that fails with the use of clang. While I plan to update one of my "dev boxes" to 11, and start working with clang. Until then, where clang is concerned, I'm guessing, at best. So can anyone tell me how to ensure that clang is never considered for making my port? my CXX = g++. My port builds, and installs flawlessly on anything <=9. But because anything >=10 uses clang, by default. I'm failing on those. I've had a look at /usr/ports/MK/Uses/compiler.mk. But can't seem to unwind the conditional(s) for my use needs. Thank you for all your time, and consideration. --Chris