svn commit: r538390 - in head/irc/srain: . files
Mark Linimon
linimon at FreeBSD.org
Wed Jun 10 11:26:04 UTC 2020
Author: linimon
Date: Wed Jun 10 11:26:04 2020
New Revision: 538390
URL: https://svnweb.freebsd.org/changeset/ports/538390
Log:
Remove -std=gnu11 from internal compiler flags to attempt to fix build
on GCC-based systems such as powerpc64:
cc1: error: unrecognized command line option "-std=gnu11"
This is necessary but insufficient. I have not yet tried the patch
from PR 247107, which may be needed..
Approved by: portmgr (tier-2 blanket)
Modified:
head/irc/srain/Makefile
head/irc/srain/files/patch-src_Makefile
Modified: head/irc/srain/Makefile
==============================================================================
--- head/irc/srain/Makefile Wed Jun 10 11:16:44 2020 (r538389)
+++ head/irc/srain/Makefile Wed Jun 10 11:26:04 2020 (r538390)
@@ -14,7 +14,7 @@ LIB_DEPENDS= libconfig.so:devel/libconfig \
libsecret-1.so:security/libsecret \
libsoup-2.4.so:devel/libsoup
-USES= gettext-tools gmake gnome pkgconfig ssl
+USES= compiler:c11 gettext-tools gmake gnome pkgconfig ssl
USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 pango
USE_GITHUB= yes
Modified: head/irc/srain/files/patch-src_Makefile
==============================================================================
--- head/irc/srain/files/patch-src_Makefile Wed Jun 10 11:16:44 2020 (r538389)
+++ head/irc/srain/files/patch-src_Makefile Wed Jun 10 11:26:04 2020 (r538390)
@@ -5,7 +5,7 @@
LIBSECRETLIBS =$(shell pkg-config --libs libsecret-1)
-CFLAGS += -std=gnu99 -O2 -Wall -Iinc -Wno-deprecated-declarations \
-+CFLAGS += -std=gnu11 -Wall -Iinc -Wno-deprecated-declarations \
++CFLAGS += -Wall -Iinc -Wno-deprecated-declarations \
$(DEFS) \
$(DBGFLAGS) \
$(GTK3FLAGS) \
More information about the svn-ports-head
mailing list