From owner-svn-ports-all@freebsd.org Mon Jul 10 00:54:23 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0C2BED99E53; Mon, 10 Jul 2017 00:54:23 +0000 (UTC) (envelope-from rezny@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 mx1.freebsd.org (Postfix) with ESMTPS id CF4E57606E; Mon, 10 Jul 2017 00:54:22 +0000 (UTC) (envelope-from rezny@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v6A0sLvn092014; Mon, 10 Jul 2017 00:54:21 GMT (envelope-from rezny@FreeBSD.org) Received: (from rezny@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v6A0sLE2092013; Mon, 10 Jul 2017 00:54:21 GMT (envelope-from rezny@FreeBSD.org) Message-Id: <201707100054.v6A0sLE2092013@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rezny set sender to rezny@FreeBSD.org using -f From: Matthew Rezny Date: Mon, 10 Jul 2017 00:54:21 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r445415 - head/devel/libepoll-shim X-SVN-Group: ports-head X-SVN-Commit-Author: rezny X-SVN-Commit-Paths: head/devel/libepoll-shim X-SVN-Commit-Revision: 445415 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.23 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, 10 Jul 2017 00:54:23 -0000 Author: rezny Date: Mon Jul 10 00:54:21 2017 New Revision: 445415 URL: https://svnweb.freebsd.org/changeset/ports/445415 Log: Build fixes for libepoll-shim - correct compiler flags when using GCC; clears BROKEN on PPC64 - correct spelling of INCSDIR; fixes build when PREFIX != /usr/local [1] PR: 219576 [1] Submitted by: John Hein [1] Reported by: Mikhail T. [1] Approved by: swills (mentor) Differential Revision: https://reviews.freebsd.org/D11551 Modified: head/devel/libepoll-shim/Makefile Modified: head/devel/libepoll-shim/Makefile ============================================================================== --- head/devel/libepoll-shim/Makefile Sun Jul 9 21:32:27 2017 (r445414) +++ head/devel/libepoll-shim/Makefile Mon Jul 10 00:54:21 2017 (r445415) @@ -10,8 +10,6 @@ COMMENT= epoll shim implemented using kevent LICENSE= MIT -BROKEN_powerpc64= fails to compile: cc1: error: unrecognized command line option -Wno-missing-variable-declarations - USE_GITHUB= yes GH_ACCOUNT= FreeBSDDesktop GH_PROJECT= epoll-shim @@ -19,14 +17,18 @@ GH_TAGNAME= c04b26b USE_LDCONFIG= yes -USES= uidfix -MAKE_ARGS= LIBDIR=${PREFIX}/lib INCLUDEDIR=${PREFIX}/include +USES= compiler uidfix +MAKE_ARGS= LIBDIR=${PREFIX}/lib INCSDIR=${PREFIX}/include/libepoll-shim/sys +.include + post-patch: - # -Weverything is not recognized by GCC - @${REINPLACE_CMD} -e 's|Weverything|Wall|' ${WRKSRC}/Makefile +.if "${CHOSEN_COMPILER_TYPE}" == "gcc" + @${REINPLACE_CMD} -e 's|Wno-missing-variable-declarations|Wno-missing-declarations|' \ + -e 's|-Wno-thread-safety-analysis||' -e 's|Weverything|Wall|' ${WRKSRC}/Makefile +.endif pre-install: @${MKDIR} ${STAGEDIR}/${PREFIX}/include/libepoll-shim/sys -.include +.include