From owner-svn-ports-all@freebsd.org Mon Nov 5 20:09:28 2018 Return-Path: Delivered-To: svn-ports-all@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 9EFB1110A87C; Mon, 5 Nov 2018 20:09:28 +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.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 E703B70E18; Mon, 5 Nov 2018 20:09:27 +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 C3E821C3D7; Mon, 5 Nov 2018 20:09:27 +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 wA5K9RgS098274; Mon, 5 Nov 2018 20:09:27 GMT (envelope-from linimon@FreeBSD.org) Received: (from linimon@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wA5K9RgU098273; Mon, 5 Nov 2018 20:09:27 GMT (envelope-from linimon@FreeBSD.org) Message-Id: <201811052009.wA5K9RgU098273@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: linimon set sender to linimon@FreeBSD.org using -f From: Mark Linimon Date: Mon, 5 Nov 2018 20:09:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r484216 - head/editors/encryptpad X-SVN-Group: ports-head X-SVN-Commit-Author: linimon X-SVN-Commit-Paths: head/editors/encryptpad X-SVN-Commit-Revision: 484216 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: E703B70E18 X-Spamd-Result: default: False [-1.13 / 200.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.63)[-0.626,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; HAS_XAW(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; DMARC_NA(0.00)[FreeBSD.org]; RCVD_COUNT_THREE(0.00)[4]; MX_GOOD(-0.01)[cached: mx1.FreeBSD.org]; NEURAL_HAM_SHORT(-0.39)[-0.393,0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[] X-Rspamd-Server: mx1.freebsd.org 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: Mon, 05 Nov 2018 20:09:28 -0000 Author: linimon Date: Mon Nov 5 20:09:27 2018 New Revision: 484216 URL: https://svnweb.freebsd.org/changeset/ports/484216 Log: This port requires USES=c++11-lang to build on architectures that use GCC in base. Also requires switching from freebsd-clang++ to freebsd-g++ where GCC needs to be used. PR: 232012 Submitted by: Piotr Kubaj Approved by: maintainer Modified: head/editors/encryptpad/Makefile Modified: head/editors/encryptpad/Makefile ============================================================================== --- head/editors/encryptpad/Makefile Mon Nov 5 20:06:04 2018 (r484215) +++ head/editors/encryptpad/Makefile Mon Nov 5 20:09:27 2018 (r484216) @@ -16,7 +16,8 @@ LICENSE_FILE= ${WRKSRC}/license.txt BUILD_DEPENDS= bash:shells/bash LIB_DEPENDS= libbotan-2.so:security/botan2 -USES= desktop-file-utils gl gmake pkgconfig qt:5 shared-mime-info shebangfix +USES= compiler:c++11-lang desktop-file-utils gl gmake pkgconfig qt:5 \ + shared-mime-info shebangfix USE_GL= gl USE_QT= core gui widgets buildtools_build qmake_build SHEBANG_FILES= deps/libencryptmsg/configure @@ -29,6 +30,14 @@ OPTIONS_DEFINE= DOCS PORTDOCS= * +.include + +post-patch: +.if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64 + ${REINPLACE_CMD} -e 's/freebsd-clang/freebsd-g++/' \ + ${WRKSRC}/build/Makefile.qt_ui +.endif + do-build: cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} MAKE=${MAKE_CMD} \ ./configure.sh --all --use-system-libs @@ -51,4 +60,4 @@ post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}/${DOCSDIR} -.include +.include