pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/audio/libvisual0.2
Module Name: pkgsrc
Committed By: nia
Date: Sat Oct 5 07:54:12 UTC 2024
Modified Files:
pkgsrc/audio/libvisual0.2: Makefile
Log Message:
libvisual0.2: Do not use -mmmx on non-x86.
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/audio/libvisual0.2/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/audio/libvisual0.2/Makefile
diff -u pkgsrc/audio/libvisual0.2/Makefile:1.10 pkgsrc/audio/libvisual0.2/Makefile:1.11
--- pkgsrc/audio/libvisual0.2/Makefile:1.10 Mon Jul 25 11:12:20 2022
+++ pkgsrc/audio/libvisual0.2/Makefile Sat Oct 5 07:54:12 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2022/07/25 11:12:20 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2024/10/05 07:54:12 nia Exp $
DISTNAME= libvisual-0.2.0
PKGNAME= libvisual0.2-0.2.0
@@ -20,9 +20,11 @@ GNU_CONFIGURE= yes
CFLAGS.SunOS+= -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t
+.include "../../mk/bsd.fast.prefs.mk"
.include "../../mk/compiler.mk"
-.if !empty(CC_VERSION:Mgcc*)
+.if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64") && \
+ !empty(CC_VERSION:Mgcc*)
CPPFLAGS+= -mmmx
.endif
Home |
Main Index |
Thread Index |
Old Index