[Midnightbsd-cvs] mports [24149] trunk/dns/libbind/Makefile: fix build
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Mon Sep 3 13:52:09 EDT 2018
Revision: 24149
http://svnweb.midnightbsd.org/mports/?rev=24149
Author: laffer1
Date: 2018-09-03 13:52:08 -0400 (Mon, 03 Sep 2018)
Log Message:
-----------
fix build
Modified Paths:
--------------
trunk/dns/libbind/Makefile
Modified: trunk/dns/libbind/Makefile
===================================================================
--- trunk/dns/libbind/Makefile 2018-09-03 17:50:10 UTC (rev 24148)
+++ trunk/dns/libbind/Makefile 2018-09-03 17:52:08 UTC (rev 24149)
@@ -4,12 +4,11 @@
PORTVERSION= 6.0
PORTREVISION= 5
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 MidnightBSD.org
+MAINTAINER= ports at FreeBSD.org
COMMENT= Standard C resolver library
LICENSE= mit
@@ -19,32 +18,19 @@
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir=/var --with-randomdev=/dev/random
+CONFIGURE_TARGET= ${ARCH}-portbld-freebsd10.4
+USES= groff
OPTIONS_DEFINE= IPV6 THREADS
-OPTIONS_DEFAULT= IPV6 THREADS
+OPTIONS_DEFAULT= THREADS
-.include <bsd.port.pre.mk>
+IPV6_CONFIGURE_ENABLE= ipv6
+THREADS_CONFIGURE_ENABLE= threads
-.if ${PORT_OPTIONS:MIPV6}
-CONFIGURE_ARGS+= --enable-ipv6
-.else
-CONFIGURE_ARGS+= --disable-ipv6
-.endif
-
-.if ${PORT_OPTIONS:MTHREADS}
-CONFIGURE_ARGS+= --enable-threads
-.else
-CONFIGURE_ARGS+= --disable-threads
-.endif
-
verify: checksum
gpg --verify ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}.asc
post-patch:
-.if ${OSVERSION} > 4015
- ${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
-.endif
+ ${REINPLACE_CMD} -e '/#include <utmp.h>/ d' ${WRKSRC}/irs/*.c
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
More information about the Midnightbsd-cvs
mailing list