On Sun Oct 07, 2018 at 04:05:30PM -0600, lan...@openbsd.org wrote: > http://build-failures.rhaalovely.net//sparc64/2018-09-30/net/megatools.log
Unbreak megatools. The build needs a C99 or C11 compiler. Index: Makefile =================================================================== RCS file: /cvs/ports/net/megatools/Makefile,v retrieving revision 1.15 diff -u -p -u -p -r1.15 Makefile --- Makefile 8 Sep 2018 21:50:08 -0000 1.15 +++ Makefile 8 Oct 2018 21:07:18 -0000 @@ -5,6 +5,7 @@ PORTROACH = limit:[0-9]\.tar\.gz COMMENT = command line client application for Mega DISTNAME = megatools-1.10.2 +REVISION = 0 CATEGORIES = net @@ -20,6 +21,9 @@ WANTLIB += ssl MASTER_SITES = https://megatools.megous.com/builds/ +# C99 +COMPILER = base-clang ports-clang ports-gcc + BUILD_DEPENDS = devel/gobject-introspection \ textproc/asciidoc LIB_DEPENDS = devel/glib2 \ @@ -30,6 +34,8 @@ CONFIGURE_STYLE = gnu MAKE_FLAGS = VERBOSE=1 CONFIGURE_ARGS = --disable-introspection + +CFLAGS += -std=c99 SEPARATE_BUILD = Yes