diff options
author | bapt <bapt@FreeBSD.org> | 2014-07-24 21:32:58 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-07-24 21:32:58 +0800 |
commit | a8844613fabe6f02880be5a2bbab4d9af2853c2d (patch) | |
tree | ffddb673c48038e781d69f6c3d08ec8855ad33a5 /dns/adsuck | |
parent | 12f33c255d02d5e8b350ff2daf6aa8ed112b6508 (diff) | |
download | freebsd-ports-gnome-a8844613fabe6f02880be5a2bbab4d9af2853c2d.tar.gz freebsd-ports-gnome-a8844613fabe6f02880be5a2bbab4d9af2853c2d.tar.zst freebsd-ports-gnome-a8844613fabe6f02880be5a2bbab4d9af2853c2d.zip |
Only use libevent2
Remove libevent as libevent2 is providing a good compatibility interface as well
as providing better performances.
Remove custom patches from libevent2 and install libevent2 the regular way
Mark ports abusing private fields of the libevent1 API as broken
Import a patch from fedora to have honeyd working with libevent2
Remove most of the patches necessary to find the custom installation we used to
have for libevent2
With hat: portmgr
Diffstat (limited to 'dns/adsuck')
-rw-r--r-- | dns/adsuck/Makefile | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/dns/adsuck/Makefile b/dns/adsuck/Makefile index ddefcd6d15ef..741b3e766ec5 100644 --- a/dns/adsuck/Makefile +++ b/dns/adsuck/Makefile @@ -3,7 +3,7 @@ PORTNAME= adsuck PORTVERSION= 2.3 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= dns MASTER_SITES= http://opensource.conformal.com/snapshots/adsuck/ \ http://philpep.org/pub/ @@ -14,12 +14,10 @@ COMMENT= DNS relay for ad blocking LICENSE= ISCL -LIB_DEPENDS+= libevent-2.0.so:${PORTSDIR}/devel/libevent2 \ +LIB_DEPENDS+= libevent.so:${PORTSDIR}/devel/libevent2 \ libldns.so:${PORTSDIR}/dns/ldns -CFLAGS+= -I${LOCALBASE}/include/event2/compat \ - -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib/event2 +CFLAGS+= -I${LOCALBASE}/include USE_RC_SUBR= adsuck @@ -30,9 +28,6 @@ SUB_FILES+= pkg-message OPTIONS_DEFINE= EXAMPLES -post-patch: - @${REINPLACE_CMD} -e "s/-levent/-levent-2.0/g" ${WRKSRC}/Makefile - do-install: ${INSTALL_PROGRAM} ${WRKSRC}/adsuck ${STAGEDIR}${PREFIX}/sbin ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8.gz ${STAGEDIR}${MANPREFIX}/man/man8 |