svn commit: r380469 - head/dns/libbind
Dmitry Marakasov
amdmi3 at FreeBSD.org
Thu Mar 5 01:46:31 UTC 2015
Author: amdmi3
Date: Thu Mar 5 01:46:30 2015
New Revision: 380469
URL: https://svnweb.freebsd.org/changeset/ports/380469
QAT: https://qat.redports.org/buildarchive/r380469/
Log:
- Simplify MASTER_SITES
- Add LICENSE
- Unbreak build by removing utmp.h references from all source files
Modified:
head/dns/libbind/Makefile
Modified: head/dns/libbind/Makefile
==============================================================================
--- head/dns/libbind/Makefile Thu Mar 5 01:45:47 2015 (r380468)
+++ head/dns/libbind/Makefile Thu Mar 5 01:46:30 2015 (r380469)
@@ -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 at 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>
More information about the svn-ports-all
mailing list