- Add USES=libtool
- Remove unneeded CFLAGS patch
This commit is contained in:
parent
4495371dc9
commit
830170ca91
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=366472
2 changed files with 2 additions and 5 deletions
|
@ -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|<stdint.h>|<inttypes.h>|' \
|
||||
${WRKSRC}/epoll.c ${WRKSRC}/epoll_sub.c ${WRKSRC}/evdns.c
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue