diff --git a/audio/vm-lv2/Makefile b/audio/vm-lv2/Makefile index 8029472b72bb..4e27018796ab 100644 --- a/audio/vm-lv2/Makefile +++ b/audio/vm-lv2/Makefile @@ -21,7 +21,13 @@ LIB_DEPENDS= liblilv-0.so:audio/lilv \ libsratom-0.so:audio/sratom USES= compiler:c++11-lib gl meson pkgconfig localbase tar:xz xorg -USE_XORG= x11 xext USE_GL= gl glew glu +USE_XORG= x11 xext + +.include + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=int-conversion +.endif .include