aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-03-05 09:46:30 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-03-05 09:46:30 +0800
commit62f3b9a86273dd8d750b224439778d5fe35d55c7 (patch)
treee7f7c8e18cae7a70317f2f695281c8474c2cccc1 /dns
parent8ce87fb975482f865b14e03122f7640c34d90334 (diff)
downloadfreebsd-ports-gnome-62f3b9a86273dd8d750b224439778d5fe35d55c7.tar.gz
freebsd-ports-gnome-62f3b9a86273dd8d750b224439778d5fe35d55c7.tar.zst
freebsd-ports-gnome-62f3b9a86273dd8d750b224439778d5fe35d55c7.zip
- Simplify MASTER_SITES
- Add LICENSE - Unbreak build by removing utmp.h references from all source files
Diffstat (limited to 'dns')
-rw-r--r--dns/libbind/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/dns/libbind/Makefile b/dns/libbind/Makefile
index 1ab55e6bfaaa..d878f41a292b 100644
--- a/dns/libbind/Makefile
+++ b/dns/libbind/Makefile
@@ -4,14 +4,16 @@ PORTNAME= libbind
PORTVERSION= 6.0
PORTREVISION= 1
CATEGORIES= dns net ipv6
-MASTER_SITES= ${MASTER_SITE_ISC}
-MASTER_SITE_SUBDIR= libbind/${PORTVERSION}
+MASTER_SITES= ISC/libbind/${PORTVERSION}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}.asc
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Standard C resolver library
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/COPYRIGHT
+
MAKE_JOBS_UNSAFE= yes
GNU_CONFIGURE= yes
@@ -37,11 +39,9 @@ CONFIGURE_ARGS+= --disable-threads
verify: checksum
gpg --verify ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}.asc
-post-patch:
.if ${OSVERSION} > 900007
- ${CP} ${WRKSRC}/irs/irpmarshall.c ${WRKSRC}/irs/irpmarshall.c.dist
- ${SED} -e 's/\#include \<utmp.h\>//' \
- ${WRKSRC}/irs/irpmarshall.c.dist > ${WRKSRC}/irs/irpmarshall.c
+post-patch:
+ ${REINPLACE_CMD} -e '/#include <utmp.h>/ d' ${WRKSRC}/irs/*.c
.endif
.include <bsd.port.post.mk>