Don't explicitely link with -lquadmath, this lib only exists on x86 and

libgfortran pulls it in when needed.
Should fix configure bailing out on !x86, so remove BROKEN-powerpc to
give it a chance there. Maybe it'll even build on sparc64.
Joint work with jca@, discussed with steven@
This commit is contained in:
landry 2018-02-10 09:19:48 +00:00
parent 69cfc010b7
commit 57e0bb3e51

View File

@ -1,13 +1,11 @@
# $OpenBSD: Makefile,v 1.15 2018/01/19 15:46:58 jca Exp $
BROKEN-powerpc= configure: error: C compiler cannot create executables
# $OpenBSD: Makefile,v 1.16 2018/02/10 09:19:48 landry Exp $
COMMENT= common libraries for the CMU speech recognition engines
VERSION= 0.6
DISTNAME= sphinxbase-${VERSION}
PKGNAME= cmu-sphinxbase-${VERSION}
REVISION= 4
REVISION= 5
CATEGORIES= audio
SHARED_LIBS= sphinxbase 1.0 \
sphinxad 1.0
@ -32,7 +30,7 @@ CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --without-python
CONFIGURE_ENV= CPPFLAGS=-I${LOCALBASE}/include \
LDFLAGS=-L${LOCALBASE}/lib \
LIBS="-lblas -lm -lgfortran -lquadmath -lsndio" \
LIBS="-lblas -lm -lgfortran -lsndio" \
HAVE_DOXYGEN="no"
pre-build: