svn commit: r320832 - head/net-mgmt/bandwidthd

William Grzybowski wg at FreeBSD.org
Thu Jun 13 19:05:28 UTC 2013


Author: wg
Date: Thu Jun 13 19:05:28 2013
New Revision: 320832
URL: http://svnweb.freebsd.org/changeset/ports/320832

Log:
  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)

Modified:
  head/net-mgmt/bandwidthd/Makefile

Modified: head/net-mgmt/bandwidthd/Makefile
==============================================================================
--- head/net-mgmt/bandwidthd/Makefile	Thu Jun 13 18:56:24 2013	(r320831)
+++ head/net-mgmt/bandwidthd/Makefile	Thu Jun 13 19:05:28 2013	(r320832)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	bandwidthd
-# Date created:				Sun Nov  2
-# Whom:					Clement Laforet <sheepkiller at cultdeadsheep.org>
-#
+# Created by: Clement Laforet <sheepkiller at cultdeadsheep.org>
 # $FreeBSD$
-#
 
 PORTNAME=	bandwidthd
 PORTVERSION=	2.0.1
@@ -17,9 +13,7 @@ COMMENT=	Tracks bandwidth usage by IP ad
 
 LIB_DEPENDS+=	gd.4:${PORTSDIR}/graphics/gd
 
-.if ${CC} == "clang"
-USE_CSTD=	c89
-.endif
+USE_CSTD=	gnu89
 
 USE_GMAKE=	YES
 GNU_CONFIGURE=	YES


More information about the svn-ports-all mailing list