ipmitool uses -std=gnu11, use ports-gcc to fix sparc64 build

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

> $ grep -C1 -e -ledit `make show=WRKBUILD`/config.log
> | }
> 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"

base-gcc is too old for this.

OK sthen kmos
This commit is contained in:
kn 2022-02-18 15:21:12 +00:00
parent 1744a9ee8d
commit c59da7bc7a

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.32 2022/02/12 18:14:43 sthen Exp $
# $OpenBSD: Makefile,v 1.33 2022/02/18 15:21:12 kn Exp $
COMMENT= manage and configure devices that support IPMI
@ -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/{.*//}
@ -27,6 +28,9 @@ 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/