From owner-svn-ports-head@freebsd.org Sun Oct 28 10:58:47 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 CE544108618A; Sun, 28 Oct 2018 10:58:47 +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 84C7C7C356; Sun, 28 Oct 2018 10:58:47 +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 633291E6B2; Sun, 28 Oct 2018 10:58:47 +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 w9SAwlPb079289; Sun, 28 Oct 2018 10:58:47 GMT (envelope-from linimon@FreeBSD.org) Received: (from linimon@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w9SAwlhf079288; Sun, 28 Oct 2018 10:58:47 GMT (envelope-from linimon@FreeBSD.org) Message-Id: <201810281058.w9SAwlhf079288@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: linimon set sender to linimon@FreeBSD.org using -f From: Mark Linimon Date: Sun, 28 Oct 2018 10:58:47 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r483270 - head/sysutils/incron X-SVN-Group: ports-head X-SVN-Commit-Author: linimon X-SVN-Commit-Paths: head/sysutils/incron X-SVN-Commit-Revision: 483270 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.29 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: Sun, 28 Oct 2018 10:58:48 -0000 Author: linimon Date: Sun Oct 28 10:58:46 2018 New Revision: 483270 URL: https://svnweb.freebsd.org/changeset/ports/483270 Log: Fix build on GCC-based architectures. PR: 232529 Submitted by: Piotr Kubaj Approved by: portmgr (tier-2 blanket) Modified: head/sysutils/incron/Makefile Modified: head/sysutils/incron/Makefile ============================================================================== --- head/sysutils/incron/Makefile Sun Oct 28 10:55:44 2018 (r483269) +++ head/sysutils/incron/Makefile Sun Oct 28 10:58:46 2018 (r483270) @@ -15,10 +15,6 @@ LICENSE_FILE_GPLv2= ${WRKSRC}/LICENSE-GPL LICENSE_FILE_LGPL21= ${WRKSRC}/LICENSE-LGPL LICENSE_FILE_MIT= ${WRKSRC}/LICENSE-X11 -BROKEN_mips= fails to compile: usertable.cpp:440: \#pragma GCC diagnostic not allowed inside functions -BROKEN_mips64= fails to compile: usertable.cpp:440: \#pragma GCC diagnostic not allowed inside functions -BROKEN_powerpc64= fails to compile: usertable.cpp:440: \#pragma GCC diagnostic not allowed inside functions - LIB_DEPENDS= libinotify.so:devel/libinotify USE_GITHUB= indeed @@ -31,10 +27,16 @@ MAKE_ARGS= PREFIX="${PREFIX}" USER=${UID} \ MANPATH=${MANPREFIX}/man USE_RC_SUBR= ${PORTNAME} +.include + post-patch: ${REINPLACE_CMD} -e 's,/etc/incron,${PREFIX}/etc/incron,' \ ${WRKSRC}/*conf* ${WRKSRC}/Makefile ${WRKSRC}/*.[158h] \ ${WRKSRC}/*.cpp ${REINPLACE_CMD} -e '/INITDIR/d' ${WRKSRC}/Makefile +.if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64 + ${REINPLACE_CMD} -e '/pragma/d' ${WRKSRC}/inotify-cxx.cpp \ + ${WRKSRC}/usertable.cpp +.endif -.include +.include