Use bash(1) for configure; the script contains lots of bashisms for variable

expension.
This fixes the build where fmin(3) is not a compiler builtin.

reported by sthen@
This commit is contained in:
ajacoutot 2022-04-23 14:00:22 +00:00
parent 7d7a4bf707
commit 5673be9a5c
1 changed files with 5 additions and 0 deletions

View File

@ -2,6 +2,7 @@ COMMENT = library to handle Apple Property List files
V= 2.2.0
DISTNAME = libplist-${V}
REVISION = 0
SHARED_LIBS += plist-2.0 0.0 # 6.0
SHARED_LIBS += plist++-2.0 0.0 # 6.0
@ -20,6 +21,10 @@ WANTLIB += ${COMPILER_LIBCXX} c m
COMPILER = base-clang ports-gcc
# lots of bashisms for variable expension (FLAGS += -lfoo)
CONFIGURE_SCRIPT = ${LOCALBASE}/bin/bash configure
BUILD_DEPENDS += shells/bash
CONFIGURE_STYLE = gnu
CONFIGURE_ENV = LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS = --without-cython