From 830170ca917cea7053ca83270e177238135b62d5 Mon Sep 17 00:00:00 2001 From: Tijl Coosemans Date: Fri, 29 Aug 2014 09:12:34 +0000 Subject: [PATCH] - Add USES=libtool - Remove unneeded CFLAGS patch --- devel/libevent-hiphop/Makefile | 4 ++-- devel/libevent-hiphop/pkg-plist | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/devel/libevent-hiphop/Makefile b/devel/libevent-hiphop/Makefile index 1698c09f2cc7..bfa4fc9c1319 100644 --- a/devel/libevent-hiphop/Makefile +++ b/devel/libevent-hiphop/Makefile @@ -4,7 +4,7 @@ PORTNAME= libevent PKGNAMESUFFIX= -hiphop PORTVERSION= 1.4.14b -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= devel MASTER_SITES= http://monkey.org/~provos/ DISTNAME= ${PORTNAME}-${DISTVERSION}-stable @@ -22,13 +22,13 @@ GNU_CONFIGURE_PREFIX= ${PREFIX}/${HIPHOP_DIR}/ext INSTALL_TARGET= install-libLTLIBRARIES \ install-includeHEADERS \ install-nodist_includeHEADERS +USES= libtool PLIST_SUB+= HIPHOP_DIR="${HIPHOP_DIR}" pre-configure: @${MKDIR} ${WRKSRC}/m4 post-patch: - @${REINPLACE_CMD} -e 's,CFLAGS =,CFLAGS +=,' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e '/LIBS/s/-lrt//g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|||' \ ${WRKSRC}/epoll.c ${WRKSRC}/epoll_sub.c ${WRKSRC}/evdns.c diff --git a/devel/libevent-hiphop/pkg-plist b/devel/libevent-hiphop/pkg-plist index e3f2e4b4b31c..18357957ae60 100644 --- a/devel/libevent-hiphop/pkg-plist +++ b/devel/libevent-hiphop/pkg-plist @@ -5,11 +5,8 @@ %%HIPHOP_DIR%%/ext/include/evrpc.h %%HIPHOP_DIR%%/ext/include/evutil.h %%HIPHOP_DIR%%/ext/lib/libevent_core.a -%%HIPHOP_DIR%%/ext/lib/libevent_core.la %%HIPHOP_DIR%%/ext/lib/libevent_extra.a -%%HIPHOP_DIR%%/ext/lib/libevent_extra.la %%HIPHOP_DIR%%/ext/lib/libevent.a -%%HIPHOP_DIR%%/ext/lib/libevent.la @dirrmtry %%HIPHOP_DIR%%/ext/lib @dirrmtry %%HIPHOP_DIR%%/ext/include @dirrmtry %%HIPHOP_DIR%%/ext