If we're on arm64, manually set the env variable AS in order to defeat a
configure check that prevents xine-lib from building. Enables this to package and install on arm64. ok phessler@
This commit is contained in:
parent
1c7d2a4434
commit
5b6d061981
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.139 2018/10/24 14:28:08 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.140 2018/12/19 16:08:08 bcallah Exp $
|
||||
|
||||
COMMENT= multimedia decoding library
|
||||
|
||||
@ -86,6 +86,15 @@ CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib" \
|
||||
ac_cv_header_execinfo_h=no
|
||||
|
||||
.if ${MACHINE_ARCH:Maarch64}
|
||||
# The configure script runs `cc -print-prog-name=as'
|
||||
# if an AS env var isn't set, then tries to find that program.
|
||||
# Since there is no /usr/bin/as on arm64, this causes configure
|
||||
# to bail out and nothing gets built.
|
||||
# Let's just lie if we're on arm64.
|
||||
CONFIGURE_ENV+= AS="${CC}"
|
||||
.endif
|
||||
|
||||
NO_TEST= Yes
|
||||
|
||||
pre-configure:
|
||||
|
Loading…
x
Reference in New Issue
Block a user