svn commit: r411446 - head/net-mgmt/bandwidthd
Jan Beich
jbeich at FreeBSD.org
Sun Mar 20 14:34:07 UTC 2016
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
More information about the svn-ports-all
mailing list