audio/csound: use libc++ and unbreak with gcc5 or later

$ ldd $(which csound5gui) | fgrep c++
        libc++.so.1 => /usr/lib/libc++.so.1 (0x803309000)
        libstdc++.so.6 => /usr/local/lib/gcc49/libstdc++.so.6 (0x803a22000)

libcsound64.so.5: undefined reference to `csp_dag_is_finished'
libcsound64.so.5: undefined reference to `csp_set_count'
libcsound64.so.5: undefined reference to `csp_set_get_num'
collect2: error: ld returned 1 exit status

PR:		216707
Reported by:	antoine (via exp-run)
This commit is contained in:
Jan Beich 2017-02-04 06:00:41 +00:00
parent 17c6b22641
commit 27cbd4be10
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=433280

View File

@ -3,7 +3,7 @@
PORTNAME= csound
PORTVERSION= 5.19.01
PORTREVISION= 6
PORTREVISION= 7
CATEGORIES= audio lang
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}5/${PORTNAME}${PORTVERSION:R} \
SF/${PORTNAME}/${PORTNAME}5/${PORTNAME}${PORTVERSION:R}/manual:manual
@ -27,7 +27,8 @@ CONFLICTS_INSTALL= outguess-* csound6
WRKSRC= ${WRKDIR}/${PORTNAME:S/c/C/}${PORTVERSION}
USES= bison cpe gettext scons compiler:openmp python
USES= bison cpe gettext scons compiler:gcc-c++11-lib python
USE_CSTD= gnu89
# math/gmm++ requires c++11
USE_CXXSTD= c++11
CPE_VENDOR= csounds