Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jul 2013 09:47:30 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r323523 - head/net-mgmt/dhcdrop
Message-ID:  <201307230947.r6N9lUeV053806@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Tue Jul 23 09:47:30 2013
New Revision: 323523
URL: http://svnweb.freebsd.org/changeset/ports/323523

Log:
  Add USE_CSTD=gnu89 for clang instead of removing inline.
  
  PR:		180263
  Approved by:	maintainer timeout (19 days)

Modified:
  head/net-mgmt/dhcdrop/Makefile   (contents, props changed)
Directory Properties:
  head/net-mgmt/dhcdrop/distinfo   (props changed)
  head/net-mgmt/dhcdrop/pkg-descr   (props changed)

Modified: head/net-mgmt/dhcdrop/Makefile
==============================================================================
--- head/net-mgmt/dhcdrop/Makefile	Tue Jul 23 08:48:04 2013	(r323522)
+++ head/net-mgmt/dhcdrop/Makefile	Tue Jul 23 09:47:30 2013	(r323523)
@@ -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 d
 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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307230947.r6N9lUeV053806>