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

Collapse All | Expand All

(-)Makefile (+3 lines)
Lines 45-50 CONFIGURE_ARGS+= --extra-cflags="-I${LOCALBASE}/include" \ Link Here
45
			--disable-opencl \
45
			--disable-opencl \
46
			--disable-cli
46
			--disable-cli
47
47
48
CFLAGS_armv6+=  -mcpu=arm1136jf-s
49
48
PLIST_SUB+=	X264_BUILD=${X264_BUILD}
50
PLIST_SUB+=	X264_BUILD=${X264_BUILD}
49
51
50
.include <bsd.port.options.mk>
52
.include <bsd.port.options.mk>
Lines 103-107 post-patch: Link Here
103
	@${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|${PREFIX}/libdata/pkgconfig|; \
105
	@${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|${PREFIX}/libdata/pkgconfig|; \
104
		s|$${libdir}/pkgconfig|${PREFIX}/libdata/pkgconfig|' \
106
		s|$${libdir}/pkgconfig|${PREFIX}/libdata/pkgconfig|' \
105
		${WRKSRC}/Makefile
107
		${WRKSRC}/Makefile
108
	@${REINPLACE_CMD} -e 's|gcc|${CC}|' ${WRKSRC}/configure
106
109
107
.include <bsd.port.mk>
110
.include <bsd.port.mk>
(-)files/patch-Makefile (+9 lines)
Lines 31-33 Link Here
31
 ifneq ($(AS),)
31
 ifneq ($(AS),)
32
 SRCS += common/ppc/mc.c common/ppc/pixel.c common/ppc/dct.c \
32
 SRCS += common/ppc/mc.c common/ppc/pixel.c common/ppc/dct.c \
33
         common/ppc/quant.c common/ppc/deblock.c \
33
         common/ppc/quant.c common/ppc/deblock.c \
34
@@ -113,7 +120,7 @@ endif
35
 endif
36
 
37
 # NEON optims
38
-ifeq ($(ARCH),ARM)
39
+ifeq ($(ARCH),armv6)
40
 ifneq ($(AS),)
41
 ASMSRC += common/arm/cpu-a.S common/arm/pixel-a.S common/arm/mc-a.S \
42
           common/arm/dct-a.S common/arm/quant-a.S common/arm/deblock-a.S \

Return to bug 196033