b564653452
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
27 lines
639 B
Makefile
27 lines
639 B
Makefile
# Created by: Phil Oleson <oz@nixil.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libdnsres
|
|
PORTVERSION= 0.1a
|
|
PORTREVISION= 7
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://monkey.org/~provos/
|
|
|
|
MAINTAINER= oz@nixil.net
|
|
COMMENT= Provides a non-blocking thread-safe API for resolving DNS names
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libevent.a:${PORTSDIR}/devel/libevent2
|
|
|
|
USES= libtool
|
|
GNU_CONFIGURE= yes
|
|
USE_LDCONFIG= yes
|
|
CONFIGURE_ARGS=--with-libevent=${LOCALBASE}
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
PLIST_SUB+= PORTVERSION="${PORTVERSION}"
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's,CFLAGS =,CFLAGS +=, ; s|top_buildir|top_builddir|g' \
|
|
${WRKSRC}/Makefile.in
|
|
|
|
.include <bsd.port.mk>
|