aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2013-07-23 17:47:30 +0800
committertijl <tijl@FreeBSD.org>2013-07-23 17:47:30 +0800
commit768ef18ed54b1ba332b1d1a5f056043b15f671c5 (patch)
treec53c8360812f1f0fd17822b93649ce8b697b2bec /net-mgmt
parent02e7722e7ac16d461f8bc6816bdb021a0497b863 (diff)
downloadfreebsd-ports-gnome-768ef18ed54b1ba332b1d1a5f056043b15f671c5.tar.gz
freebsd-ports-gnome-768ef18ed54b1ba332b1d1a5f056043b15f671c5.tar.zst
freebsd-ports-gnome-768ef18ed54b1ba332b1d1a5f056043b15f671c5.zip
Add USE_CSTD=gnu89 for clang instead of removing inline.
PR: 180263 Approved by: maintainer timeout (19 days)
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/dhcdrop/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/net-mgmt/dhcdrop/Makefile b/net-mgmt/dhcdrop/Makefile
index 059f95973145..2a06bf5b441f 100644
--- a/net-mgmt/dhcdrop/Makefile
+++ b/net-mgmt/dhcdrop/Makefile
@@ -3,6 +3,7 @@
PORTNAME= dhcdrop
PORTVERSION= 0.5
+PORTREVISION= 1
CATEGORIES= net-mgmt sysutils
MASTER_SITES= http://www.netpatch.ru/projects/dhcdrop/
@@ -10,6 +11,7 @@ MAINTAINER= ffault@gmail.com
COMMENT= Tool for searching and suppressing false DHCP servers
USE_BZIP2= yes
+USE_CSTD= gnu89
GNU_CONFIGURE= yes
MAN8= ${PORTNAME}.8
@@ -26,9 +28,4 @@ STATIC_DESC= Build a static version of dhcdrop
CONFIGURE_ARGS+=--enable-static-build
.endif
-post-patch:
- @${REINPLACE_CMD} -e \
- 's,inline void rand_ether_addr,static void rand_ether_addr,' \
- ${WRKSRC}/src/dhcdrop.[c,h]
-
.include <bsd.port.mk>