pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/multimedia/mpv
Module Name: pkgsrc
Committed By: nia
Date: Thu Dec 24 09:28:14 UTC 2020
Modified Files:
pkgsrc/multimedia/mpv: Makefile
Log Message:
mpv: Requires 64-bit atomic operations
Noticed by John D. Baker on pkgsrc-users
To generate a diff of this commit:
cvs rdiff -u -r1.118 -r1.119 pkgsrc/multimedia/mpv/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/multimedia/mpv/Makefile
diff -u pkgsrc/multimedia/mpv/Makefile:1.118 pkgsrc/multimedia/mpv/Makefile:1.119
--- pkgsrc/multimedia/mpv/Makefile:1.118 Sat Dec 19 11:27:51 2020
+++ pkgsrc/multimedia/mpv/Makefile Thu Dec 24 09:28:14 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.118 2020/12/19 11:27:51 leot Exp $
+# $NetBSD: Makefile,v 1.119 2020/12/24 09:28:14 nia Exp $
DISTNAME= mpv-0.33.0
CATEGORIES= multimedia
@@ -59,6 +59,17 @@ BUILDLINK_PASSTHRU_DIRS+= ${XCODE_DIR}/T
. endif
.endif
+# 64-bit atomic operations
+# https://mail-index.netbsd.org/pkgsrc-users/2020/12/23/msg032927.html
+.if ${MACHINE_ARCH} == "i386"
+CFLAGS+= -march=i586
+CXXFLAGS+= -march=i586
+.endif
+
+.if ${MACHINE_ARCH} == "powerpc"
+.include "../../devel/libatomic/buildlink3.mk"
+.endif
+
post-install:
cd ${DESTDIR}${PREFIX} && ${MV} etc/mpv/encoding-profiles.conf share/examples/mpv
Home |
Main Index |
Thread Index |
Old Index