From 63181d11cf00d55fcb4fd724924abc0ed6ea18f9 Mon Sep 17 00:00:00 2001 From: William Grzybowski Date: Thu, 13 Jun 2013 19:05:28 +0000 Subject: [PATCH] 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) --- net-mgmt/bandwidthd/Makefile | 10 ++-------- 1 file 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 -# +# Created by: Clement Laforet # $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