From 9ab01c1039dbf89643ed34f1e6dd3c4075c14be0 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Wed, 26 Jun 2019 09:32:01 +0000 Subject: [PATCH] - Add LICENSE - Cosmetic fixes - Update WWW Approved by: portmgr blanket --- devel/libdnsres/Makefile | 7 ++++--- devel/libdnsres/pkg-descr | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/devel/libdnsres/Makefile b/devel/libdnsres/Makefile index e8954ee3b960..a7d98d74256f 100644 --- a/devel/libdnsres/Makefile +++ b/devel/libdnsres/Makefile @@ -10,16 +10,17 @@ MASTER_SITES= http://monkey.org/~provos/ MAINTAINER= oz@nixil.net COMMENT= Provides a non-blocking thread-safe API for resolving DNS names +LICENSE= BSD4CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + BUILD_DEPENDS= ${LOCALBASE}/lib/libevent.a:devel/libevent USES= libtool GNU_CONFIGURE= yes USE_LDCONFIG= yes -CONFIGURE_ARGS=--with-libevent=${LOCALBASE} +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 diff --git a/devel/libdnsres/pkg-descr b/devel/libdnsres/pkg-descr index 1cebd7c22251..32a1335d7e17 100644 --- a/devel/libdnsres/pkg-descr +++ b/devel/libdnsres/pkg-descr @@ -7,4 +7,4 @@ The code borrows heavily from the BSD resolver library. In fact, it is an extremely ugly hack to make the BSD resolver library non-blocking and thread-safe without changing the API too much. -WWW: http://www.monkey.org/~provos/libdnsres/ +WWW: https://www.monkey.org/~provos/libdnsres/