1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00
freebsd-ports/irc/ngircd/Makefile
Dmitry Marakasov 30a00f2227 Most commonly used build systems support silent builds, when they
hide actual commands executed and only show short summary line (like
"CC foo.c"). CMake and ninja enable this by default, some autotools
using ports do as well. This is unacceptable because we need complete
build logs at any time, so we now switch to verbose build logs
unconditionally. Note that this change deliberately affects ALL
builds and not only package builds on cluster, because we need to
be sure that user experiencing failure can always provide informative
build log regardless of settings and without rerunning the build.

Change summary:

- Always do verbose builds for cmake, ninja and GNU configure (the
  latter includes check if --disable-silent-rules is actually supported
  by the configure script; there are isolated cases when it's not true)
- Remove CMAKE_VERBOSE, NINJA_VERBOSE and
  CONFIGURE_ARGS=--disable-silent-rules from all ports which set them
  for this is no longer needed
- Revert hacks for --disable-silent-rules support priorly committed
  to biology/ncbi-blast+ and net-p2p/mldonkey - no longer needed as well

Submitted by:	amdmi3
Reviewed by:	mat
Exp-run by:	antoine
Approved by:	portmgr (mat, antoine)
Differential Revision:	D7534
2016-09-09 19:42:46 +00:00

67 lines
1.7 KiB
Makefile

# Created by: Kirill Ponomarew <ponomarew@oberon.net>
# $FreeBSD$
PORTNAME= ngircd
PORTVERSION= 23
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= irc ipv6
MASTER_SITES= http://arthur.barton.de/pub/${PORTNAME}/ \
http://ngircd.mirror.3rz.org/pub/${PORTNAME}/
MAINTAINER= ports@FreeBSD.org
COMMENT= Free open source daemon for Internet Relay Chat (IRC)
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= cpe tar:xz
GNU_CONFIGURE= yes
USE_RC_SUBR= ngircd
CPE_VENDOR= barton
CPE_VERSION= ${PORTVERSION:C/^([0-9]+)$/\1.0/}
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
PORTDOCS= *
PLIST_FILES= etc/ngircd.conf.sample \
man/man5/ngircd.conf.5.gz \
man/man8/ngircd.8.gz \
sbin/ngircd
OPTIONS_DEFINE= DEBUG DOCS ICONV IDENT IPV6 IRCPLUS LIBWRAP \
SNIFFER SYSLOG ZLIB
OPTIONS_RADIO= TLS
OPTIONS_RADIO_TLS= GNUTLS OPENSSL
OPTIONS_DEFAULT= ICONV IRCPLUS LIBWRAP OPENSSL SYSLOG ZLIB
DEBUG_CONFIGURE_EBABLE= debug
GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls
GNUTLS_CONFIGURE_WITH= gnutls
ICONV_USES= iconv
ICONV_CONFIGURE_WITH= iconv
IDENT_DESC= IDENT (AUTH) protocol support
IDENT_LIB_DEPENDS= libident.so:security/libident
INDENT_CONFIGURE_WITH= dent
IPV6_CONFIGURE_ENABLE= ipv6
IRCPLUS_DESC= IRC+ protocol
IRCPLUS_CONFIGURE_ENABLE= ircplus
LIBWRAP_CONFIGURE_WITH= tcp-wrappers
OPENSSL_USE= openssl=yes
OPENSSL_CONFIGURE_WITH= openssl
SNIFFER_DESC= IRC traffic sniffer
SNIFFER_CONFIGURE_ENABLE= sniffer
SYSLOG_CONFIGURE_WITH= syslog
ZLIB_CONFIGURE_WITH= zlib
post-patch:
@${REINPLACE_CMD} -e \
'/LIBS/s|-liconv|${ICONV_LIB}|' ${WRKSRC}/configure
@${REINPLACE_CMD} -e \
'/toplevel/s| \.\./COPYING|| ; \
/INSTALL/s|.conf$$|.conf.sample|' ${WRKSRC}/doc/Makefile.in
.include <bsd.port.mk>