diff options
author | bapt <bapt@FreeBSD.org> | 2014-03-06 00:44:26 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-03-06 00:44:26 +0800 |
commit | bab108a726b8697b32c65e75eabbde973effab09 (patch) | |
tree | c5a8d3cd613954656ab9326d19c236f08232ac77 /databases | |
parent | 9eef6e3117f725fd7dffad9a285e8e1827a55b72 (diff) | |
download | freebsd-ports-gnome-bab108a726b8697b32c65e75eabbde973effab09.tar.gz freebsd-ports-gnome-bab108a726b8697b32c65e75eabbde973effab09.tar.zst freebsd-ports-gnome-bab108a726b8697b32c65e75eabbde973effab09.zip |
Convert to use libevent2
Diffstat (limited to 'databases')
-rw-r--r-- | databases/sharedance/Makefile | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/databases/sharedance/Makefile b/databases/sharedance/Makefile index ef3f43e328af..3ccee5f36f40 100644 --- a/databases/sharedance/Makefile +++ b/databases/sharedance/Makefile @@ -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> |