audio/faustlive: fix build on GCC architectures

Don't explicitly add -L/usr/lib, it makes GCC from ports link against base libstdc++. Clang still links fine to base libraries.

MFH:		2020Q3 (fix build blanket)
This commit is contained in:
Piotr Kubaj 2020-08-18 00:01:56 +00:00
parent d549f79dbf
commit 1c9dc09a16
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=545200

View file

@ -52,7 +52,8 @@ post-patch:
@${REINPLACE_CMD} -e ' \
s|########## LIBS AND FLAGS|CXXFLAGS+=$$$$system($$$$LLVM_CONFIG --cflags)| ; \
s|/use/local|${LOCALBASE}| ; \
s|-L/opt/local/lib$$|-L${LOCALBASE}/lib -lexecinfo|' \
s|-L/opt/local/lib$$|-L${LOCALBASE}/lib -lexecinfo| ; \
s|-L/usr/lib/||' \
${WRKSRC}/Build/FreeBSD/FaustLive.pro
@${REINPLACE_CMD} -e ' \
s|#!/bin/bash|#!/bin/sh|' \