From owner-svn-ports-all@freebsd.org Fri Oct 4 22:40:29 2019 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 511A213B8D1; Fri, 4 Oct 2019 22:40:29 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46lPwF1Qwjz3yVy; Fri, 4 Oct 2019 22:40:29 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 15588328C; Fri, 4 Oct 2019 22:40:29 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x94MeSYF094472; Fri, 4 Oct 2019 22:40:28 GMT (envelope-from linimon@FreeBSD.org) Received: (from linimon@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x94MeSCD094471; Fri, 4 Oct 2019 22:40:28 GMT (envelope-from linimon@FreeBSD.org) Message-Id: <201910042240.x94MeSCD094471@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: linimon set sender to linimon@FreeBSD.org using -f From: Mark Linimon Date: Fri, 4 Oct 2019 22:40:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r513793 - head/x11/cool-retro-term X-SVN-Group: ports-head X-SVN-Commit-Author: linimon X-SVN-Commit-Paths: head/x11/cool-retro-term X-SVN-Commit-Revision: 513793 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Oct 2019 22:40:29 -0000 Author: linimon Date: Fri Oct 4 22:40:28 2019 New Revision: 513793 URL: https://svnweb.freebsd.org/changeset/ports/513793 Log: Prepare for powerpc-on-clang by deleting hard-coded tests for architecture as a stand-in for "are we running on gcc". (PR 239181) As a side-effect, adding the stanza MAKE_ENV= LLVM_CONFIG=${LOCALBASE}/bin/llvm-config${LLVM_DEFAULT} obviates the need for hardcoding definitions for CC, CXX, and CPP (later linimon testing). PR: 239181 Approved by: danfe (maintainer-timeout, > 2 months) Modified: head/x11/cool-retro-term/Makefile Modified: head/x11/cool-retro-term/Makefile ============================================================================== --- head/x11/cool-retro-term/Makefile Fri Oct 4 22:31:59 2019 (r513792) +++ head/x11/cool-retro-term/Makefile Fri Oct 4 22:40:28 2019 (r513793) @@ -16,7 +16,7 @@ GH_ACCOUNT= Swordfish90 GH_PROJECT= qmltermwidget:qtw GH_TAGNAME= 0.2.0:qtw -USES= gmake gl qmake qt:5 +USES= compiler gmake gl qmake qt:5 USE_GL= gl USE_QT= qmake_build buildtools_build core declarative gui \ network sql widgets graphicaleffects_run \ @@ -24,12 +24,11 @@ USE_QT= qmake_build buildtools_build core declarative .include -.if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64 +.if ${CHOSEN_COMPILER_TYPE} == gcc USE_GCC= yes .else -CC= clang -CXX= clang++ -CPP= clang-cpp +BUILD_DEPENDS+= clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} +MAKE_ENV= LLVM_CONFIG=${LOCALBASE}/bin/llvm-config${LLVM_DEFAULT} .endif post-extract: