- 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
This commit is contained in:
parent
deb68d2d0d
commit
f0ba571ea0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=554933
@ -9,7 +9,7 @@ MASTER_SITES= SF/${PORTNAME}/mydns/${PORTVERSION}
|
||||
DISTNAME= mydns-${PORTVERSION}
|
||||
|
||||
MAINTAINER= gaod@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>
|
||||
|
Loading…
Reference in New Issue
Block a user