From 47c3806575d854fa956746c87ad26495f5924a63 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Thu, 16 Sep 2010 11:04:00 +0000 Subject: [PATCH] Contitionalize EV_MINIMAL checking to avoid compiler warnings PR: ports/149970 Submitted by: garga@ Approved by: maintainer timeout (3 weeks) --- devel/libev/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/devel/libev/Makefile b/devel/libev/Makefile index 230d6f2b8ba9..59f5fcbe1c22 100644 --- a/devel/libev/Makefile +++ b/devel/libev/Makefile @@ -7,6 +7,7 @@ PORTNAME= libev PORTVERSION= 3.9 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= devel MASTER_SITES= http://dist.schmorp.de/libev/ \ @@ -20,4 +21,9 @@ USE_LDCONFIG= yes MAN3= ev.3 +post-patch: + @${REINPLACE_CMD} -e 's/if EV_MINIMAL/if defined(EV_MINIMAL) \&\& EV_MINIMAL/g' \ + ${WRKSRC}/ev.h \ + ${WRKSRC}/ev++.h + .include