From owner-svn-ports-head@freebsd.org Wed May 23 07:52:53 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D0CEFEF3E1A; Wed, 23 May 2018 07:52:53 +0000 (UTC) (envelope-from vanilla@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 83F977D2FE; Wed, 23 May 2018 07:52:53 +0000 (UTC) (envelope-from vanilla@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 653092002B; Wed, 23 May 2018 07:52:53 +0000 (UTC) (envelope-from vanilla@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w4N7qrTr073395; Wed, 23 May 2018 07:52:53 GMT (envelope-from vanilla@FreeBSD.org) Received: (from vanilla@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w4N7qrEG073394; Wed, 23 May 2018 07:52:53 GMT (envelope-from vanilla@FreeBSD.org) Message-Id: <201805230752.w4N7qrEG073394@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: vanilla set sender to vanilla@FreeBSD.org using -f From: "Vanilla I. Shu" Date: Wed, 23 May 2018 07:52:53 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r470686 - head/chinese/gcin-qt5 X-SVN-Group: ports-head X-SVN-Commit-Author: vanilla X-SVN-Commit-Paths: head/chinese/gcin-qt5 X-SVN-Commit-Revision: 470686 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 May 2018 07:52:54 -0000 Author: vanilla Date: Wed May 23 07:52:52 2018 New Revision: 470686 URL: https://svnweb.freebsd.org/changeset/ports/470686 Log: Unbreak on 11.1. Modified: head/chinese/gcin-qt5/Makefile Modified: head/chinese/gcin-qt5/Makefile ============================================================================== --- head/chinese/gcin-qt5/Makefile Wed May 23 07:52:04 2018 (r470685) +++ head/chinese/gcin-qt5/Makefile Wed May 23 07:52:52 2018 (r470686) @@ -3,6 +3,7 @@ PORTNAME= gcin PORTVERSION= 2.8.6 +PORTREVISION= 1 CATEGORIES= chinese textproc gnome MASTER_SITES= http://hyperrate.com/gcin-source/ PKGNAMESUFFIX= -qt5 @@ -16,7 +17,7 @@ LICENSE= LGPL21 LIB_DEPENDS= libgcin-im-client.so:chinese/gcin WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/qt5-im -USES= gmake pkgconfig tar:xz +USES= compiler:c++11-lang gmake pkgconfig tar:xz USE_QT5= qdbus qmake_build buildtools_build core gui USE_CXXSTD= c++11 MAKE_ENV= INSTALL_PROGRAM="${INSTALL_PROGRAM}" \ @@ -24,8 +25,18 @@ MAKE_ENV= INSTALL_PROGRAM="${INSTALL_PROGRAM}" \ PLIST_FILES= ${QT_PLUGINDIR}/platforminputcontexts/libgcinplatforminputcontextplugin.so +.include + +.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} < 60 +BUILD_DEPENDS+= ${LOCALBASE}/bin/clang60:devel/llvm60 +CPP= ${LOCALBASE}/bin/clang-cpp60 +CC= ${LOCALBASE}/bin/clang60 +CXX= ${LOCALBASE}/bin/clang++60 +.endif + post-patch: @${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g; \ s,%%MOC%%,${MOC},;' ${WRKSRC}/Makefile + @${ECHO} "XXXX: ${COMPILER_VERSION}" -.include +.include