audio/cmus: Fix build on powerpc
checking for successful build of ffmpeg.c... cc1: error: unrecognized command line option "-std=gnu11" no configure failed. track_info.o: In function `track_info_new': track_info.c:(.text+0x2c): undefined reference to `__atomic_fetch_add_8' Allow build on powerpc64 again as the error in BROKEN looks to be same as the first error on powerc.
This commit is contained in:
parent
75296bbdc7
commit
cee00e0e78
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=473386
@ -18,11 +18,9 @@ COMMENT= Console-based music player with really cool features
|
||||
LICENSE= GPLv2+
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
BROKEN_powerpc64= fails to configure: checking for successful build of ffmpeg.c... no
|
||||
|
||||
USES= compiler:c11 gmake iconv ncurses pkgconfig
|
||||
USE_GITHUB= yes
|
||||
|
||||
USES= gmake iconv ncurses pkgconfig
|
||||
HAS_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= prefix=${PREFIX} mandir=${MANPREFIX}/man \
|
||||
exampledir=${EXAMPLESDIR}
|
||||
@ -31,7 +29,8 @@ CONFIGURE_ARGS= prefix=${PREFIX} mandir=${MANPREFIX}/man \
|
||||
CONFIGURE_ARGS+= HOSTCC=${CC}
|
||||
|
||||
# Verbose build makes it easier to spot problems
|
||||
MAKE_ARGS= V=2
|
||||
MAKE_ARGS= V=2 ${MAKE_ARGS_${ARCH:U}}
|
||||
MAKE_ARGS_powerpc= COMPAT_LIBS="-latomic" # undefined reference to `__atomic_fetch_add_8'
|
||||
|
||||
# Disable all configure options first. These will be overwritten by
|
||||
# enabled port options later. The args to cmus' configure script
|
||||
|
Loading…
Reference in New Issue
Block a user