aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2013-06-16 19:29:27 +0800
committerwg <wg@FreeBSD.org>2013-06-16 19:29:27 +0800
commitcf7e3eabbef90013f79b4f34c436a2dbed026776 (patch)
tree36d48ae412d04718f44ee4a1d57fff7c1f85635d /net-mgmt
parentd2115a17a2396eabff73b56329d9ff9384c68c54 (diff)
downloadfreebsd-ports-gnome-cf7e3eabbef90013f79b4f34c436a2dbed026776.tar.gz
freebsd-ports-gnome-cf7e3eabbef90013f79b4f34c436a2dbed026776.tar.zst
freebsd-ports-gnome-cf7e3eabbef90013f79b4f34c436a2dbed026776.zip
net-mgmt/pads: fix build with clang
- Fix build wuth clang, -Wno-return-type, gnu89 C std Approved by: culot / jpaetzel (mentors, implicit)
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/pads/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/net-mgmt/pads/Makefile b/net-mgmt/pads/Makefile
index 0a9768107df6..fc4b7072a13a 100644
--- a/net-mgmt/pads/Makefile
+++ b/net-mgmt/pads/Makefile
@@ -10,6 +10,9 @@ MASTER_SITES= SF/passive/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Passively detect network assets
+CFLAGS+= -Wno-return-type
+USE_CSTD= gnu89
+
LIB_DEPENDS= pcre:${PORTSDIR}/devel/pcre
GNU_CONFIGURE= yes