8399ead6f8
These ports link some non-PIC code, which fails with lld as it defaults to disallowing relocations against read-only segments. For i386 we can just add -znotext unconditionally: for GNU BFD ld it just affirms BFD's existing default. PR: 214864 Approved by: portmgr (lld blanket) Sponsored by: The FreeBSD Foundation
41 lines
922 B
Makefile
41 lines
922 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= libass
|
|
PORTVERSION= 0.14.0
|
|
CATEGORIES= multimedia devel
|
|
|
|
MAINTAINER= multimedia@FreeBSD.org
|
|
COMMENT= Portable ASS/SSA subtitle renderer
|
|
|
|
LICENSE= ISCL
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= libfreetype.so:print/freetype2 \
|
|
libfribidi.so:converters/fribidi \
|
|
libfontconfig.so:x11-fonts/fontconfig
|
|
|
|
USE_GITHUB= yes
|
|
|
|
USES= autoreconf iconv libtool pathfix pkgconfig
|
|
GNU_CONFIGURE= yes
|
|
USE_LDCONFIG= yes
|
|
INSTALL_TARGET= install-strip
|
|
LDFLAGS_i386= -Wl,-znotext
|
|
|
|
OPTIONS_DEFINE= HARFBUZZ
|
|
OPTIONS_DEFAULT=HARFBUZZ
|
|
OPTIONS_EXCLUDE_armv6=HARFBUZZ
|
|
OPTIONS_EXCLUDE_armv7=HARFBUZZ
|
|
OPTIONS_DEFINE_amd64= ASM
|
|
OPTIONS_DEFINE_i386= ASM
|
|
OPTIONS_DEFAULT_amd64= ASM
|
|
OPTIONS_DEFAULT_i386= ASM
|
|
|
|
ASM_BUILD_DEPENDS=nasm:devel/nasm
|
|
ASM_CONFIGURE_ENABLE=asm
|
|
|
|
HARFBUZZ_LIB_DEPENDS=libharfbuzz.so:print/harfbuzz
|
|
HARFBUZZ_CONFIGURE_ENABLE=harfbuzz
|
|
HARFBUZZ_DESC?= Font shaping via HarfBuzz
|
|
|
|
.include <bsd.port.mk>
|