diff options
Diffstat (limited to 'devel/libdnsres/Makefile')
-rw-r--r-- | devel/libdnsres/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/devel/libdnsres/Makefile b/devel/libdnsres/Makefile index 140b3d0e347b..bd7c2ecec066 100644 --- a/devel/libdnsres/Makefile +++ b/devel/libdnsres/Makefile @@ -17,8 +17,9 @@ COMMENT= Provides a non-blocking thread-safe API for resolving DNS names BUILD_DEPENDS= ${LOCALBASE}/lib/libevent.a:${PORTSDIR}/devel/libevent GNU_CONFIGURE= yes -USE_AUTOTOOLS= libtool:15 +USE_AUTOTOOLS= libtool:22 USE_LDCONFIG= yes +CONFIGURE_ARGS=--with-libevent=${LOCALBASE} PLIST_SUB+= PORTVERSION="${PORTVERSION}" @@ -28,6 +29,7 @@ MLINKS= dnsres.3 dnsres_init.3 dnsres.3 dnsres_gethostbyname.3 \ dnsres.3 dnsres_getaddrinfo.3 post-patch: - @${REINPLACE_CMD} -e 's,CFLAGS =,CFLAGS +=,' ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e 's,CFLAGS =,CFLAGS +=, ; s|top_buildir|top_builddir|g' \ + ${WRKSRC}/Makefile.in .include <bsd.port.mk> |