aboutsummaryrefslogtreecommitdiff
path: root/dns/adsuck
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-07-24 13:32:58 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-07-24 13:32:58 +0000
commitb5646534525f3eb9cce485f6580fe9a473ce2ba7 (patch)
treeffddb673c48038e781d69f6c3d08ec8855ad33a5 /dns/adsuck
parentafee9d5cd365a4ef10c99ef86e5358e76a5d37f2 (diff)
Notes
Diffstat (limited to 'dns/adsuck')
-rw-r--r--dns/adsuck/Makefile11
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