aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libevent
diff options
context:
space:
mode:
authormm <mm@FreeBSD.org>2010-08-03 17:54:18 +0800
committermm <mm@FreeBSD.org>2010-08-03 17:54:18 +0800
commita4450ec05b0b918cad72a5425b2b684cb64ae479 (patch)
tree3b1a17fd0773959be543207bfdf74fa17ae279e6 /devel/libevent
parent5e4e860b24524e035692dfe2d27eeeb16331021d (diff)
downloadfreebsd-ports-gnome-a4450ec05b0b918cad72a5425b2b684cb64ae479.tar.gz
freebsd-ports-gnome-a4450ec05b0b918cad72a5425b2b684cb64ae479.tar.zst
freebsd-ports-gnome-a4450ec05b0b918cad72a5425b2b684cb64ae479.zip
Remove unused lib dependency on librt
PR: ports/148938 Submitted by: swell.k@gmail.com
Diffstat (limited to 'devel/libevent')
-rw-r--r--devel/libevent/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/devel/libevent/Makefile b/devel/libevent/Makefile
index 3a7dfda4e778..54aa11aed2fc 100644
--- a/devel/libevent/Makefile
+++ b/devel/libevent/Makefile
@@ -7,6 +7,7 @@
PORTNAME= libevent
PORTVERSION= 1.4.14b
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://monkey.org/~provos/
DISTNAME= ${PORTNAME}-${DISTVERSION}-stable
@@ -86,6 +87,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