On Fri, Feb 11, 2022 at 09:40:12PM -0700, Kurt Mosiejczuk wrote:
> http://build-failures.rhaalovely.net/sparc64/2022-02-09/sysutils/ipmitool.log

> checking for library containing readline... no
> configure: error: ** Unable to find readline required by ipmishell.

        $ grep -C3 -e -ledit `make show=WRKBUILD`/config.log
        |   ;
        |   return 0;
        | }
        configure:14604: cc -std=gnu99 -o conftest -O2 -pipe -std=gnu11 
-pedantic -Wformat -fms-extensions   conftest.c -ledit   >&5
        cc1: error: unrecognized command line option "-std=gnu11"
        configure:14604: $? = 1
        configure: failed program was:

base-gcc is older than -std=gnu11 which is hardcoded in configure.ac's
CFLAGS.

Feedback? OK?

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/

Reply via email to