mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
81181e8612
ld: error: can't create dynamic relocation R_ARM_ABS32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in common/arm/mc-a-8.o >>> referenced by common/arm/mc-a-8.o:(memcpy_table)
45 lines
1013 B
Makefile
45 lines
1013 B
Makefile
# Created by: Michael Johnson <ahze@FreeBSD.org>
|
|
# $FreeBSD$
|
|
#
|
|
# Updating notes: see multimedia/x264/Makefile.
|
|
|
|
PORTREVISION= 0
|
|
PKGNAMEPREFIX= lib
|
|
COMMENT= H.264/MPEG-4 AVC Video Encoding (Library)
|
|
MASTERDIR= ${.CURDIR}/../x264
|
|
PLIST= ${.CURDIR}/pkg-plist
|
|
|
|
# Clear dependency on libx264 (itself), see x264/Makefile
|
|
LIB_DEPENDS= #
|
|
|
|
USES= pathfix
|
|
LDFLAGS_i386= -Wl,-znotext
|
|
LDFLAGS_armv6= -Wl,-znotext
|
|
LDFLAGS_armv7= -Wl,-znotext
|
|
|
|
OPTIONS_DEFINE= ASM OPENCL
|
|
OPTIONS_DEFAULT= ASM OPENCL
|
|
OPTIONS_EXCLUDE= FFMS GPAC LAVF LSMASH SWSCALE
|
|
|
|
ASM_BUILD_DEPENDS= ${ASM_BUILD_DEPENDS_${ARCH}}
|
|
ASM_BUILD_DEPENDS_amd64=${ASM_BUILD_DEPENDS_i386}
|
|
ASM_BUILD_DEPENDS_i386= nasm>=2.13:devel/nasm
|
|
ASM_CONFIGURE_ENABLE= asm
|
|
|
|
OPENCL_BUILD_DEPENDS= ${LOCALBASE}/include/CL/opencl.h:devel/opencl
|
|
OPENCL_CONFIGURE_ENABLE=opencl
|
|
|
|
CONFIGURE_ARGS= \
|
|
--enable-static \
|
|
--enable-shared \
|
|
--disable-cli
|
|
|
|
PATHFIX_MAKEFILEIN= Makefile
|
|
|
|
PLIST_FILES= #
|
|
PLIST_SUB+= X264_BUILD=${X264_BUILD}
|
|
|
|
pre-build:
|
|
|
|
.include "${MASTERDIR}/Makefile"
|