Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Mar 2016 14:34:06 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r411446 - head/net-mgmt/bandwidthd
Message-ID:  <201603201434.u2KEY61P045996@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Sun Mar 20 14:34:06 2016
New Revision: 411446
URL: https://svnweb.freebsd.org/changeset/ports/411446

Log:
  net-mgmt/bandwidthd: back out r411165 and disable png check
  
  libpng is dependency of libgd, bandwidthd doesn't use it directly
  
  PR:		208014
  Tested by:	md5 **/*.o

Modified:
  head/net-mgmt/bandwidthd/Makefile   (contents, props changed)

Modified: head/net-mgmt/bandwidthd/Makefile
==============================================================================
--- head/net-mgmt/bandwidthd/Makefile	Sun Mar 20 13:46:30 2016	(r411445)
+++ head/net-mgmt/bandwidthd/Makefile	Sun Mar 20 14:34:06 2016	(r411446)
@@ -3,7 +3,7 @@
 
 PORTNAME=	bandwidthd
 PORTVERSION=	2.0.1
-PORTREVISION=	9
+PORTREVISION=	10
 CATEGORIES=	net-mgmt
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION}
 
@@ -12,8 +12,7 @@ COMMENT=	Tracks bandwidth usage by IP ad
 
 LICENSE=	GPLv2
 
-LIB_DEPENDS+=	libgd.so:${PORTSDIR}/graphics/gd \
-		libpng16.so:${PORTSDIR}/graphics/png
+LIB_DEPENDS=	libgd.so:${PORTSDIR}/graphics/gd
 
 SUB_FILES=	bandwidthd
 
@@ -21,9 +20,15 @@ USE_CSTD=	gnu89
 
 GNU_CONFIGURE=	YES
 CONFIGURE_ARGS=	ac_cv_lib_iconv_libiconv_open=no \
+		ac_cv_lib_m_pow=no \
+		ac_cv_lib_png_png_read_info=no \
 		ac_cv_lib_pq_PQconnectdb=no
 USES=		gmake tar:tgz
 
+post-patch:
+	${REINPLACE_CMD} -e '/requires.*libpng/,/exit/d' \
+		${WRKSRC}/configure
+
 post-install:
 	${INSTALL_SCRIPT} ${WRKDIR}/bandwidthd \
 	    ${STAGEDIR}${PREFIX}/etc/rc.d



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201603201434.u2KEY61P045996>