aboutsummaryrefslogtreecommitdiff
path: root/net/quagga
diff options
context:
space:
mode:
authorEugene Grosbein <eugen@FreeBSD.org>2020-08-20 11:17:34 +0000
committerEugene Grosbein <eugen@FreeBSD.org>2020-08-20 11:17:34 +0000
commitb1ea96541c62d1b5f403209f20f780463ddf6f9f (patch)
tree0395d357aeda11c11cc99ced4c236381dbfdbfea /net/quagga
parentada49eea97d96ef06ec4a3d8e991dc525c2ff6ac (diff)
downloadports-b1ea96541c62d1b5f403209f20f780463ddf6f9f.tar.gz
ports-b1ea96541c62d1b5f403209f20f780463ddf6f9f.zip
net/quagga: fix build for clang 11 and gcc 10 (FreeBSD 13)
Adding -fcommon to CFLAGS as patching would be too invasive. PORTREVISION not bumped as it fixes build for FreeBSD 13. Pet portlint. Reported by: pkg-fallout
Notes
Notes: svn path=/head/; revision=545529
Diffstat (limited to 'net/quagga')
-rw-r--r--net/quagga/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/net/quagga/Makefile b/net/quagga/Makefile
index e18f4e12a4a4..10561ce1bfb9 100644
--- a/net/quagga/Makefile
+++ b/net/quagga/Makefile
@@ -15,11 +15,13 @@ LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= gawk:lang/gawk
-CONFLICTS= frr5 frr6 frr7 openbgpd pimd zebra
-
USES= compiler:c11 cpe gmake libtool makeinfo \
perl5 readline ssl
+
+CONFLICTS= frr5 frr6 frr7 openbgpd pimd zebra
+
GNU_CONFIGURE= yes
+CFLAGS+= -fcommon
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
USE_PERL5= build