ports/149970: [PATCH] devel/libev: Conditionize EV_MINIMAL check
Renato Botelho
garga at FreeBSD.org
Wed Aug 25 19:20:05 UTC 2010
>Number: 149970
>Category: ports
>Synopsis: [PATCH] devel/libev: Conditionize EV_MINIMAL check
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Aug 25 19:20:05 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Renato Botelho
>Release: FreeBSD 9.0-CURRENT amd64
>Organization:
FreeBSD.org
>Environment:
System: FreeBSD botelhor.bplab.local 9.0-CURRENT FreeBSD 9.0-CURRENT #6 r211712M: Tue Aug 24 10:14:56 BRT
>Description:
Check EV_MINIMAL version just when it's defined to avoid compiler warnings
Port maintainer (vsevolod at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:
--- libev-3.9_1,1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/libev/Makefile,v
retrieving revision 1.8
diff -u -u -r1.8 Makefile
--- Makefile 17 Aug 2010 14:28:15 -0000 1.8
+++ Makefile 25 Aug 2010 18:38:46 -0000
@@ -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 @@
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 <bsd.port.mk>
--- libev-3.9_1,1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list