diff --git a/audio/calf-lv2/Makefile b/audio/calf-lv2/Makefile index accad1cea19c..46bdf5b988aa 100644 --- a/audio/calf-lv2/Makefile +++ b/audio/calf-lv2/Makefile @@ -1,58 +1,62 @@ # Created by: PORTNAME= calf DISTVERSION= 0.90.3 PORTREVISION= 5 CATEGORIES= audio MASTER_SITES= http://calf-studio-gear.org/files/ PKGNAMESUFFIX= -lv2 MAINTAINER= yuri@FreeBSD.org COMMENT= Set of LV2 plugins LICENSE= GPLv2 LGPL21 LICENSE_COMB= multi +BROKEN= toolchain writes the shared library that SEGVs on load: Invalid permissions for mapped object: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260364 + BUILD_DEPENDS= lv2>=1.14.0_1:audio/lv2 LIB_DEPENDS= libfluidsynth.so:audio/fluidsynth \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libjack.so:audio/jack \ libexpat.so:textproc/expat2 USES= autoreconf compiler:c++11-lang gmake gnome libtool localbase pkgconfig GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-lv2 --disable-static USE_GNOME= cairo gtk20 USE_CXXSTD= c++11 INSTALL_TARGET= install-strip USE_LDCONFIG= yes -USE_GCC= yes # workaround for https://github.com/calf-studio-gear/calf/issues/227, supposedly fixed in clang-8.0.1-+rc4-1 +USE_GCC= yes # workaround for https://github.com/calf-studio-gear/calf/issues/227, and then https://github.com/calf-studio-gear/calf/issues/156 + +INSTALLS_ICONS= yes OPTIONS_DEFINE= DOCS LASH OPTIONS_DEFAULT= LASH OPTIONS_DEFINE_amd64= SSE OPTIONS_DEFINE_i386= SSE OPTIONS_DEFAULT_amd64= SSE OPTIONS_DEFAULT_i386= SSE LASH_LIB_DEPENDS= liblash.so:audio/lash LASH_CONFIGURE_WITH= lash SSE_CONFIGURE_ENABLE= sse PORTDOCS= * .include .if ${CHOSEN_COMPILER_TYPE} == gcc CXXFLAGS+= -finline-limit=80 -finline-functions -finline-functions-called-once .endif post-install: # fix absolute symbolic link to be relative @${RM} ${STAGEDIR}${PREFIX}/lib/lv2/calf.lv2/calf.so @${RLN} ${STAGEDIR}${PREFIX}/lib/calf/libcalf.so ${STAGEDIR}${PREFIX}/lib/lv2/calf.lv2/calf.so @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lv2/calf.lv2/calflv2gui.so # https://github.com/calf-studio-gear/calf/issues/235 .include