mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 09:19:15 -04:00
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:
parent
29aea2e3ae
commit
63181d11cf
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=320832
1 changed files with 2 additions and 8 deletions
|
@ -1,9 +1,5 @@
|
||||||
# New ports collection makefile for: bandwidthd
|
# Created by: Clement Laforet <sheepkiller@cultdeadsheep.org>
|
||||||
# Date created: Sun Nov 2
|
|
||||||
# Whom: Clement Laforet <sheepkiller@cultdeadsheep.org>
|
|
||||||
#
|
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
#
|
|
||||||
|
|
||||||
PORTNAME= bandwidthd
|
PORTNAME= bandwidthd
|
||||||
PORTVERSION= 2.0.1
|
PORTVERSION= 2.0.1
|
||||||
|
@ -17,9 +13,7 @@ COMMENT= Tracks bandwidth usage by IP address
|
||||||
|
|
||||||
LIB_DEPENDS+= gd.4:${PORTSDIR}/graphics/gd
|
LIB_DEPENDS+= gd.4:${PORTSDIR}/graphics/gd
|
||||||
|
|
||||||
.if ${CC} == "clang"
|
USE_CSTD= gnu89
|
||||||
USE_CSTD= c89
|
|
||||||
.endif
|
|
||||||
|
|
||||||
USE_GMAKE= YES
|
USE_GMAKE= YES
|
||||||
GNU_CONFIGURE= YES
|
GNU_CONFIGURE= YES
|
||||||
|
|
Loading…
Add table
Reference in a new issue