svn commit: r432802 - head/devel/libepoll-shim

John Marino marino at FreeBSD.org
Sun Jan 29 22:10:58 UTC 2017


Author: marino
Date: Sun Jan 29 22:10:57 2017
New Revision: 432802
URL: https://svnweb.freebsd.org/changeset/ports/432802

Log:
  devel/libepoll-shim: Fix build on GCC
  
  The -Weverything flag is not recognized by GCC; replace with -Wall.
  
  Approved by:	GCC blanket

Modified:
  head/devel/libepoll-shim/Makefile

Modified: head/devel/libepoll-shim/Makefile
==============================================================================
--- head/devel/libepoll-shim/Makefile	Sun Jan 29 21:39:30 2017	(r432801)
+++ head/devel/libepoll-shim/Makefile	Sun Jan 29 22:10:57 2017	(r432802)
@@ -20,6 +20,10 @@ USE_LDCONFIG=	yes
 USES=		uidfix
 MAKE_ARGS=	LIBDIR=${PREFIX}/lib INCLUDEDIR=${PREFIX}/include
 
+post-patch:
+	# -Weverything is not recognized by GCC
+	@${REINPLACE_CMD} -e 's|Weverything|Wall|' ${WRKSRC}/Makefile
+
 pre-install:
 	@${MKDIR} ${STAGEDIR}/${PREFIX}/include/libepoll-shim/sys
 


More information about the svn-ports-all mailing list