Convert to use libevent2
This commit is contained in:
parent
94a144531f
commit
35902762f2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=347121
@ -3,22 +3,27 @@
|
||||
|
||||
PORTNAME= sharedance
|
||||
PORTVERSION= 0.6
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= databases
|
||||
MASTER_SITES= http://download.pureftpd.org/pub/sharedance/
|
||||
|
||||
MAINTAINER= gslin@gslin.org
|
||||
COMMENT= A daemon to centralize keys and associated data
|
||||
COMMENT= Daemon to centralize keys and associated data
|
||||
|
||||
LIB_DEPENDS= libevent-1.4.so:${PORTSDIR}/devel/libevent
|
||||
LIB_DEPENDS= libevent-2.0.so:${PORTSDIR}/devel/libevent2
|
||||
|
||||
CONFIGURE_ARGS= --with-largefile
|
||||
GNU_CONFIGURE= yes
|
||||
USE_BZIP2= yes
|
||||
CFLAGS+= -I${LOCALBASE}/include/event2/compat \
|
||||
-I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib/event2
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e "s/-levent/-levent-2.0/g" ${WRKSRC}/configure
|
||||
|
||||
NO_STAGE= yes
|
||||
post-install:
|
||||
${MKDIR} ${DATADIR}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/php/*.php ${DATADIR}
|
||||
@${MKDIR} ${STAGEDIR}${DATADIR}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/php/*.php ${STAGEDIR}${DATADIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user