svn commit: r473386 - head/audio/cmus
Tobias Kortkamp
tobik at FreeBSD.org
Tue Jun 26 14:36:49 UTC 2018
Author: tobik
Date: Tue Jun 26 14:36:48 2018
New Revision: 473386
URL: https://svnweb.freebsd.org/changeset/ports/473386
Log:
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.
Modified:
head/audio/cmus/Makefile
Modified: head/audio/cmus/Makefile
==============================================================================
--- head/audio/cmus/Makefile Tue Jun 26 13:16:07 2018 (r473385)
+++ head/audio/cmus/Makefile Tue Jun 26 14:36:48 2018 (r473386)
@@ -18,11 +18,9 @@ COMMENT= Console-based music player with really cool f
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}/m
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
More information about the svn-ports-all
mailing list