View | Details | Raw Unified | Return to bug 251173 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-1 / +11 lines)
Lines 26-37 Link Here
26
TEST_TARGET=	check-TESTS
26
TEST_TARGET=	check-TESTS
27
USE_LDCONFIG=	yes
27
USE_LDCONFIG=	yes
28
28
29
OPTIONS_DEFINE=	APNG
29
OPTIONS_DEFINE=	APNG SIMD
30
OPTIONS_DEFAULT=APNG
30
OPTIONS_DEFAULT=APNG
31
OPTIONS_DEFAULT_aarch64=	SIMD
32
OPTIONS_DEFAULT_amd64=	SIMD
33
OPTIONS_DEFAULT_powerpc64le=	SIMD
31
APNG_DESC=Enable Animated PNG support
34
APNG_DESC=Enable Animated PNG support
35
SIMD_CONFIGURE_OFF=	--enable-hardware-optimizations=no
36
SIMD_CONFIGURE_ON=	--enable-hardware-optimizations=yes
32
37
33
.include <bsd.port.options.mk>
38
.include <bsd.port.options.mk>
34
39
40
.if ${ARCH} == powerpc64 && ${PORT_OPTIONS:MSIMD}
41
USES+=		compiler:c11
42
CFLAGS+=	-maltivec -mvsx
43
.endif
44
35
.if ${PORT_OPTIONS:MAPNG} || make(makesum)
45
.if ${PORT_OPTIONS:MAPNG} || make(makesum)
36
PATCHFILES=	${DISTNAME}-apng.patch.gz
46
PATCHFILES=	${DISTNAME}-apng.patch.gz
37
.endif
47
.endif
(-)files/patch-configure (+11 lines)
Line 0 Link Here
1
--- configure.orig	2021-01-21 14:33:24 UTC
2
+++ configure
3
@@ -13533,7 +13533,7 @@ $as_echo "#define PNG_ARM_NEON_OPT 0" >>confdefs.h
4
 $as_echo "#define PNG_MIPS_MSA_OPT 0" >>confdefs.h
5
 
6
               ;;
7
-            i?86|x86_64)
8
+            i?86|x86_64|amd64)
9
               enable_intel_sse=yes
10
 
11
 $as_echo "#define PNG_INTEL_SSE_OPT 1" >>confdefs.h

Return to bug 251173