svn commit: r554933 - head/dns/mydns-ng
Alexey Dokuchaev
danfe at FreeBSD.org
Thu Nov 12 07:03:32 UTC 2020
Author: danfe
Date: Thu Nov 12 07:03:31 2020
New Revision: 554933
URL: https://svnweb.freebsd.org/changeset/ports/554933
Log:
- Unbreak the build with -fno-common (Clang 11, GCC 10)
- Fix bogus use of capital letters in the COMMENT text
- Unmute installation commands, wrap an overly long line
PR: 249356
Submitted by: maintainer
Modified:
head/dns/mydns-ng/Makefile
Modified: head/dns/mydns-ng/Makefile
==============================================================================
--- head/dns/mydns-ng/Makefile Thu Nov 12 06:21:18 2020 (r554932)
+++ head/dns/mydns-ng/Makefile Thu Nov 12 07:03:31 2020 (r554933)
@@ -9,7 +9,7 @@ MASTER_SITES= SF/${PORTNAME}/mydns/${PORTVERSION}
DISTNAME= mydns-${PORTVERSION}
MAINTAINER= gaod at hychen.org
-COMMENT= Next Generation DNS Server for sql based DNS services
+COMMENT= Next generation DNS server for SQL-based DNS services
LICENSE= GPLv2
@@ -51,15 +51,18 @@ MYSQL_CONFIGURE_OFF= --without-mysql
NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext
+post-patch:
+# Fix the build with -fno-common (for Clang 11 and GCC 10)
+ @${REINPLACE_CMD} -e '/^CONF \*Conf/d' ${WRKSRC}/src/util/util.c
+
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}/contrib
.for f in ${DOCS}
- @${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
- @${INSTALL_DATA} ${WRKSRC}/contrib/*.php ${STAGEDIR}${DOCSDIR}/contrib/
- @${INSTALL_DATA} ${WRKSRC}/contrib/*.pl ${STAGEDIR}${DOCSDIR}/contrib/
- @${INSTALL_DATA} ${WRKSRC}/contrib/*.pm ${STAGEDIR}${DOCSDIR}/contrib/
- @${INSTALL_DATA} ${WRKSRC}/contrib/README ${STAGEDIR}${DOCSDIR}/contrib/
- @${STAGEDIR}${PREFIX}/sbin/mydns --dump-config > ${STAGEDIR}${PREFIX}/etc/mydns.conf.sample
+ ${INSTALL_DATA} ${WRKSRC}/contrib/*.p* ${STAGEDIR}${DOCSDIR}/contrib
+ ${INSTALL_DATA} ${WRKSRC}/contrib/README ${STAGEDIR}${DOCSDIR}/contrib
+ ${STAGEDIR}${PREFIX}/sbin/mydns --dump-config > \
+ ${STAGEDIR}${PREFIX}/etc/mydns.conf.sample
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list