ports/148938: [patch] devel/libevent: clock_gettime(2) is in libc, not in librt
Anonymous
swell.k at gmail.com
Mon Jul 26 00:00:14 UTC 2010
>Number: 148938
>Category: ports
>Synopsis: [patch] devel/libevent: clock_gettime(2) is in libc, not in librt
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Jul 26 00:00:13 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Anonymous
>Release: FreeBSD 9.0-CURRENT amd64
>Organization:
>Environment:
>Description:
>How-To-Repeat:
>Fix:
The fix is stolen from 1.35 rev of net-p2p/transmission-cli/Makefile
--- a.diff begins here ---
Index: devel/libevent/Makefile
===================================================================
RCS file: /a/.cvsup/ports/devel/libevent/Makefile,v
retrieving revision 1.43
diff -u -p -r1.43 Makefile
--- devel/libevent/Makefile 25 Jul 2010 15:39:15 -0000 1.43
+++ devel/libevent/Makefile 25 Jul 2010 23:42:55 -0000
@@ -86,6 +86,7 @@ MLINKS= event.3 event_init.3 \
post-patch:
@${REINPLACE_CMD} -e 's,CFLAGS =,CFLAGS +=,' ${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e '/LIBS/s/-lrt//g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|<stdint.h>|<inttypes.h>|' \
${WRKSRC}/epoll.c ${WRKSRC}/epoll_sub.c ${WRKSRC}/evdns.c
--- a.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list