1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/audio/faust-lv2/Makefile
Antoine Brodin b7d689d38d Mark BROKEN on i386 with lld
Reported by:	pkg-fallout
MFH:		2019Q3
2019-09-17 17:39:26 +00:00

43 lines
1.2 KiB
Makefile

# $FreeBSD$
PORTNAME= faust
DISTVERSION= 1.4.20180118
PORTREVISION= 5
CATEGORIES= audio
MASTER_SITES= https://bitbucket.org/${BB_ACCOUNT}/${BB_PROJECT}/get/${BB_COMMIT}.tar.gz?dummy=/
PKGNAMESUFFIX= -lv2
MAINTAINER= yuri@FreeBSD.org
COMMENT= LV2 plugin architecture for the Faust programming language
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_aarch64= fails to link: can't create dynamic relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol: vtable for LV2UI in readonly segment
.if ${/usr/bin/ld:L:tA} == /usr/bin/ld.lld
BROKEN_i386= ld: error: can't create dynamic relocation R_386_32 against symbol: vtable for LV2UI in readonly segment
.endif
BUILD_DEPENDS= lv2>0:audio/lv2 \
faust>0:audio/faust \
${LOCALBASE}/include/boost/circular_buffer.hpp:devel/boost-libs
USES= gmake localbase tar:bz2
BB_ACCOUNT= agraef
BB_PROJECT= faust-lv2
BB_COMMIT= 4dc83e28e998
WRKSRC= ${WRKDIR}/${BB_ACCOUNT}-${BB_PROJECT}-${BB_COMMIT}
LDFLAGS+= -fPIC # recommended by 13i386 failure messages, it was only failing
OPTIONS_DEFINE_amd64= SIMD
OPTIONS_DEFINE_i386= SIMD
OPTIONS_DEFAULT_amd64= SIMD
OPTIONS_DEFAULT_i386= SIMD
SIMD_CFLAGS= -msse -msse2 -mfpmath=sse
.include <bsd.port.mk>