On Fri, Feb 18, 2022 at 12:39:06AM +0000, Klemens Nanni wrote:
> base-gcc is older than -std=gnu11 which is hardcoded in configure.ac's
> CFLAGS.
> Feedback? OK?
I have confirmed this fixes it. ok kmos
--Kurt
> Index: Makefile
> ===================================================================
> RCS file: /home/cvs/ports/sysutils/ipmitool/Makefile,v
> retrieving revision 1.32
> diff -u -p -r1.32 Makefile
> --- Makefile 12 Feb 2022 18:14:43 -0000 1.32
> +++ Makefile 18 Feb 2022 00:31:40 -0000
> @@ -10,6 +10,7 @@ GH_ACCOUNT= ipmitool
> GH_PROJECT= ipmitool
> GH_COMMIT= 39ca56bf33975b8a8b7e87928d67dc66366161da
> DISTNAME= ipmitool-1.8.18pl20220207
> +REVISION= 0
> DISTFILES= ${GH_DISTFILE} enterprise-numbers.20220204.gz:0
> EXTRACT_ONLY= ${GH_DISTFILE:C/{.*//}
>
> @@ -26,6 +27,9 @@ MAINTAINER= Stuart Henderson <stu.ports@
> PERMIT_PACKAGE= Yes
>
> WANTLIB= m curses edit crypto c
> +
> +# -std=gnu11
> +COMPILER = base-clang ports-gcc
>
> #MASTER_SITES=
> https://github.com/ipmitool/ipmitool/releases/download/IPMITOOL_${V:C/\./_/g}/
> MASTER_SITES0= https://spacehopper.org/mirrors/
>