mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Contitionalize EV_MINIMAL checking to avoid compiler warnings
PR: ports/149970 Submitted by: garga@ Approved by: maintainer timeout (3 weeks)
This commit is contained in:
parent
dc900c82a0
commit
47c3806575
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=261269
@ -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 <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user