aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2013-06-14 03:05:28 +0800
committerwg <wg@FreeBSD.org>2013-06-14 03:05:28 +0800
commit53d450f29f49216d5bba91abbad341992d278b22 (patch)
tree33a3c428ee0203ae44a070f208058bb98ba2b2f3 /net-mgmt
parent7b74c7232462d861a371261784d804bb076c6402 (diff)
downloadfreebsd-ports-graphics-53d450f29f49216d5bba91abbad341992d278b22.tar.gz
freebsd-ports-graphics-53d450f29f49216d5bba91abbad341992d278b22.tar.zst
freebsd-ports-graphics-53d450f29f49216d5bba91abbad341992d278b22.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)
Diffstat (limited to 'net-mgmt')
-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 6aaccce900f..5278a56412a 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