aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/bandwidthd
diff options
context:
space:
mode:
authorWilliam Grzybowski <wg@FreeBSD.org>2013-06-13 19:05:28 +0000
committerWilliam Grzybowski <wg@FreeBSD.org>2013-06-13 19:05:28 +0000
commit63181d11cf00d55fcb4fd724924abc0ed6ea18f9 (patch)
tree33a3c428ee0203ae44a070f208058bb98ba2b2f3 /net-mgmt/bandwidthd
parent29aea2e3ae567dcb4eb78230ae1cc4de051e6eee (diff)
downloadports-63181d11cf00d55fcb4fd724924abc0ed6ea18f9.tar.gz
ports-63181d11cf00d55fcb4fd724924abc0ed6ea18f9.zip
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)
Notes
Notes: svn path=/head/; revision=320832
Diffstat (limited to 'net-mgmt/bandwidthd')
-rw-r--r--net-mgmt/bandwidthd/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/net-mgmt/bandwidthd/Makefile b/net-mgmt/bandwidthd/Makefile
index 6aaccce900f7..5278a56412a6 100644
--- a/net-mgmt/bandwidthd/Makefile
+++ b/net-mgmt/bandwidthd/Makefile
@@ -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