[Midnightbsd-cvs] mports [24832] trunk/devel/libepoll-shim/Makefile: fix build on gcc
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Wed Jan 30 23:16:20 EST 2019
Revision: 24832
http://svnweb.midnightbsd.org/mports/?rev=24832
Author: laffer1
Date: 2019-01-30 23:16:14 -0500 (Wed, 30 Jan 2019)
Log Message:
-----------
fix build on gcc
Modified Paths:
--------------
trunk/devel/libepoll-shim/Makefile
Modified: trunk/devel/libepoll-shim/Makefile
===================================================================
--- trunk/devel/libepoll-shim/Makefile 2019-01-31 04:11:53 UTC (rev 24831)
+++ trunk/devel/libepoll-shim/Makefile 2019-01-31 04:16:14 UTC (rev 24832)
@@ -4,6 +4,7 @@
PORTNAME= libepoll-shim
PORTVERSION= 0.0.20161220
+PORTREVISION= 1
CATEGORIES= devel
MAINTAINER= ports at MidnightBSD.org
@@ -23,6 +24,10 @@
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} ${PREFIX}/include/libepoll-shim/sys
More information about the Midnightbsd-cvs
mailing list