From owner-svn-ports-all@freebsd.org Mon Oct 22 07:07:55 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 62099FEC4E2; Mon, 22 Oct 2018 07:07:55 +0000 (UTC) (envelope-from ehaupt@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 0C3098BE12; Mon, 22 Oct 2018 07:07:55 +0000 (UTC) (envelope-from ehaupt@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 034D618F2A; Mon, 22 Oct 2018 07:07:55 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w9M77sdB082876; Mon, 22 Oct 2018 07:07:54 GMT (envelope-from ehaupt@FreeBSD.org) Received: (from ehaupt@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w9M77sIx082875; Mon, 22 Oct 2018 07:07:54 GMT (envelope-from ehaupt@FreeBSD.org) Message-Id: <201810220707.w9M77sIx082875@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ehaupt set sender to ehaupt@FreeBSD.org using -f From: Emanuel Haupt Date: Mon, 22 Oct 2018 07:07:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r482733 - head/mail/isync X-SVN-Group: ports-head X-SVN-Commit-Author: ehaupt X-SVN-Commit-Paths: head/mail/isync X-SVN-Commit-Revision: 482733 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: Mon, 22 Oct 2018 07:07:55 -0000 Author: ehaupt Date: Mon Oct 22 07:07:54 2018 New Revision: 482733 URL: https://svnweb.freebsd.org/changeset/ports/482733 Log: pragrma directive is not supported by base GCC. Remove it to fix build with mips, mips64, powerpc64. PR: 232514 Submitted by: Piotr Kubaj Modified: head/mail/isync/Makefile Modified: head/mail/isync/Makefile ============================================================================== --- head/mail/isync/Makefile Mon Oct 22 06:17:51 2018 (r482732) +++ head/mail/isync/Makefile Mon Oct 22 07:07:54 2018 (r482733) @@ -12,10 +12,6 @@ COMMENT= Maintain local copies of remote IMAP folders LICENSE= GPLv2 -BROKEN_mips= fails to compile: util.c:523: \#pragma GCC diagnostic not allowed inside functions -BROKEN_mips64= fails to compile: util.c:523: \#pragma GCC diagnostic not allowed inside functions -BROKEN_powerpc64= fails to compile: util.c:523: \#pragma GCC diagnostic not allowed inside functions - LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 USES= alias bdb cpe perl5 ssl @@ -32,10 +28,15 @@ MAKE_ARGS+= SSL_LIBS="-L${OPENSSLLIB} -lssl -lcrypto" CPPFLAGS+= -I${BDB_INCLUDE_DIR} LDFLAGS+= -L${BDB_LIB_DIR} +.include + post-patch: @${REINPLACE_CMD} -e 's|: install-docDATA|:|g' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|\$$(docdir)/examples|\$$(sysconfdir)|g' \ ${WRKSRC}/src/Makefile.in ${WRKSRC}/src/compat/Makefile.in @${REINPLACE_CMD} -e 's|-ansi||g' ${WRKSRC}/${CONFIGURE_SCRIPT} +.if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64 + @${REINPLACE_CMD} -e '/pragma/d' ${WRKSRC}/src/util.c +.endif -.include +.include