e59c88cece
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from GCC 5.4 to GCC 6.4 under most circumstances. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang, c++14-lang, c++0x, c11, or gcc-c++11-lib. PR: 219275
51 lines
1.2 KiB
Makefile
51 lines
1.2 KiB
Makefile
# Created by: <trasz@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= calf
|
|
PORTVERSION= 0.0.60
|
|
PORTREVISION= 6
|
|
CATEGORIES= audio
|
|
MASTER_SITES= http://calf-studio-gear.org/files/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Audio plug-in pack for LV2 and JACK environments
|
|
|
|
LICENSE= GPLv2 LGPL21
|
|
LICENSE_COMB= multi
|
|
|
|
LIB_DEPENDS= libfluidsynth.so:audio/fluidsynth \
|
|
libjack.so:audio/jack \
|
|
libexpat.so:textproc/expat2
|
|
|
|
USES= autoreconf compiler:c++11-lang gmake libtool pkgconfig
|
|
USE_GNOME= gtk20
|
|
GNU_CONFIGURE= yes
|
|
INSTALL_TARGET= install-strip
|
|
INSTALLS_ICONS= yes
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
OPTIONS_DEFINE= DOCS LASH LV2
|
|
OPTIONS_DEFAULT= LASH LV2
|
|
OPTIONS_SUB= yes
|
|
|
|
LASH_LIB_DEPENDS= liblash.so:audio/lash
|
|
LASH_CONFIGURE_WITH= lash
|
|
LV2_DESC= LV2 audio plugin
|
|
LV2_BUILD_DEPENDS= lv2>=1.14.0_1:audio/lv2
|
|
LV2_RUN_DEPENDS= lv2>=1.14.0_1:audio/lv2
|
|
LV2_CONFIGURE_WITH= lv2
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${CHOSEN_COMPILER_TYPE} == gcc
|
|
CXXFLAGS+= -finline-limit=80 -finline-functions -finline-functions-called-once
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} '/<malloc.h>/d' \
|
|
${WRKSRC}/src/ctl_knob.cpp ${WRKSRC}/src/ctl_tube.cpp
|
|
|
|
.include <bsd.port.post.mk>
|