diff options
author | tijl <tijl@FreeBSD.org> | 2013-07-23 17:47:30 +0800 |
---|---|---|
committer | tijl <tijl@FreeBSD.org> | 2013-07-23 17:47:30 +0800 |
commit | 768ef18ed54b1ba332b1d1a5f056043b15f671c5 (patch) | |
tree | c53c8360812f1f0fd17822b93649ce8b697b2bec | |
parent | 02e7722e7ac16d461f8bc6816bdb021a0497b863 (diff) | |
download | freebsd-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)
-rw-r--r-- | net-mgmt/dhcdrop/Makefile | 7 |
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> |