mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
ac4136f8e1
c++ -o libs/pbd/basename.os -c -Woverloaded-virtual -DGTK_NEW_TOOLTIP_API -DPACKAGE=\"libpbd\" -D_REENTRANT -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DLIBSIGC_DISABLE_DEPRECATED -DHAVE_EXECINFO -DBOOST_SYSTEM_NO_DEPRECATED -O2 -pipe -I/usr/local/include -DHAVE_AUBIO4 -fstack-protector -fno-strict-aliasing -Wall -DHAVE_LIBLO -DPROGRAM_NAME=\"Ardour\" -D_REENTRANT -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D__STDC_FORMAT_MACROS -Ilibs -DENABLE_NLS -DNO_POSIX_MEMALIGN -DBOOST_SYSTEM_NO_DEPRECATED -pthread -fPIC -I/usr/local/include/sigc++-2.0 -I/usr/local/include -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/libxml2 -I/usr/local/include/glibmm-2.4 -Ilibs/pbd -I/usr/local/lib/sigc++-2.0/include -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glib-2.0 libs/pbd/basename.cc In file included from libs/pbd/basename.cc:21: In file included from /usr/local/include/glibmm-2.4/glibmm/miscutils.h:24: In file included from /usr/local/include/glibmm-2.4/glibmm/arrayhandle.h:23: In file included from /usr/local/include/glibmm-2.4/glibmm/containerhandle_shared.h:22: /usr/local/include/glibmm-2.4/glibmm/refptr.h:93:18: error: expected ';' at end of declaration list Reported by: pkg-fallout
81 lines
2.1 KiB
Makefile
81 lines
2.1 KiB
Makefile
# Created by: Edward Tomasz Napierala <trasz@pin.if.uz.zgora.pl>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= ardour
|
|
PORTVERSION= 2.8.16
|
|
PORTREVISION= 6
|
|
CATEGORIES= audio
|
|
MASTER_SITES= http://freebsd.nsu.ru/distfiles/
|
|
|
|
MAINTAINER= danfe@FreeBSD.org
|
|
COMMENT= Multichannel digital audio workstation
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
BROKEN= fails to build
|
|
|
|
LIB_DEPENDS= liblo.so:audio/liblo \
|
|
liblrdf.so:textproc/liblrdf \
|
|
libjack.so:audio/jack \
|
|
libaubio.so:audio/aubio \
|
|
libfftw3.so:math/fftw3 \
|
|
libfftw3f.so:math/fftw3-float \
|
|
libboost_date_time.so:devel/boost-libs \
|
|
libgnomecanvasmm-2.6.so:graphics/libgnomecanvasmm26
|
|
|
|
USES= cpe gettext scons pkgconfig tar:bzip2
|
|
MAKE_ARGS+= SYSLIBS=yes PREFIX=${PREFIX} NLS=yes
|
|
CFLAGS+= -I${LOCALBASE}/include -DHAVE_AUBIO4
|
|
USE_GNOME= libxslt
|
|
USE_LDCONFIG= ${PREFIX}/lib/ardour2 ${PREFIX}/lib/ardour2/surfaces
|
|
|
|
PLIST_SUB= DISTVERSION=${DISTVERSION}
|
|
|
|
OPTIONS_DEFINE= OPTIMIZED_CFLAGS VST
|
|
VST_DESC= VST plugins support
|
|
|
|
BROKEN_powerpc64= Does not build
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MVST}
|
|
MAKE_ARGS+= VST=yes
|
|
LIB_DEPENDS+= libwine.so:emulators/wine
|
|
PLIST_SUB+= NO_VST="@comment "
|
|
PLIST_SUB+= VST=""
|
|
.else
|
|
PLIST_SUB+= NO_VST=""
|
|
PLIST_SUB+= VST="@comment "
|
|
.endif
|
|
|
|
# Upstream uses these flags by default
|
|
.if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS}
|
|
CFLAGS+= -O3 -fomit-frame-pointer -ffast-math -fstrength-reduce
|
|
. if ${ARCH} == "amd64"
|
|
MAKE_ARGS+= DIST_TARGET=x86_64
|
|
MAKE_ARGS+= FPU_OPTIMIZATION=1
|
|
. elif ${MACHINE_CPU:Msse}
|
|
MAKE_ARGS+= DIST_TARGET=i686
|
|
MAKE_ARGS+= FPU_OPTIMIZATION=1
|
|
. else
|
|
MAKE_ARGS+= DIST_TARGET=i386
|
|
MAKE_ARGS+= FPU_OPTIMIZATION=0
|
|
. endif
|
|
.else
|
|
MAKE_ARGS+= FPU_OPTIMIZATION=0
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|%%CFLAGS%%|${CFLAGS}|' ${WRKSRC}/SConstruct
|
|
@${REINPLACE_CMD} -e 's|alsa_pcm|oss|g' ${WRKSRC}/templates/*.template
|
|
@${REINPLACE_CMD} -e 's|std::pair<double|std::pair<const double|' \
|
|
${WRKSRC}/gtk2_ardour/tempo_lines.h
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/ardour2/templates
|
|
${INSTALL_DATA} ${WRKSRC}/templates/*.template \
|
|
${STAGEDIR}${PREFIX}/share/ardour2/templates
|
|
|
|
.include <bsd.port.mk>
|