pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

multimedia/mpv configure fails on netbsd-9/i386



Attempting to build "multimedia/mpv" on netbsd-9/i386 fails during the
configure stage with:

[...]
Checking for C11 stdatomic.h                                              : no 
C11 atomics are required; you may need a newer compiler
*** Error code 1

Stop.
make[1]: stopped in /x/pkgsrc/multimedia/mpv
*** Error code 1

Stop.
make: stopped in /x/pkgsrc/multimedia/mpv


ISTR some discussion of this in which it was suggested to add "-march=i586"
to CFLAGS/CXXFLAGS.  Although the configure script appears to be testing for
the existence of a particular header file, this seems to work (adding:

.if "${PKGPATH}" == "multimedia/mpv" 
  CFLAGS+=      -march=i586
  CXXFLAGS+=    -march=i586
.endif 

to "/etc/mk.conf").

Perhaps an appropriate platform/architecture-specific conditional should
be added to "multimedia/mpv/Makefile"?

-- 
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645


Home | Main Index | Thread Index | Old Index