net-mgmt/bandwidthd: really fix build with clang

- Fix build with /usr/bin/cc as clang
- Trim Makefile header

Suggested by:	bapt

Approved by:	culot / jpaetzel (mentors, implicit)
This commit is contained in:
William Grzybowski 2013-06-13 19:05:28 +00:00
parent 29aea2e3ae
commit 63181d11cf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=320832

View file

@ -1,9 +1,5 @@
# New ports collection makefile for: bandwidthd
# Date created: Sun Nov 2
# Whom: Clement Laforet <sheepkiller@cultdeadsheep.org>
#
# Created by: Clement Laforet <sheepkiller@cultdeadsheep.org>
# $FreeBSD$
#
PORTNAME= bandwidthd
PORTVERSION= 2.0.1
@ -17,9 +13,7 @@ COMMENT= Tracks bandwidth usage by IP address
LIB_DEPENDS+= gd.4:${PORTSDIR}/graphics/gd
.if ${CC} == "clang"
USE_CSTD= c89
.endif
USE_CSTD= gnu89
USE_GMAKE= YES
GNU_CONFIGURE= YES