Date: Thu, 2 May 2019 15:38:45 +0000 (UTC) From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r500667 - head/audio/nekobi-lv2 Message-ID: <201905021538.x42Fcj8b041805@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pkubaj Date: Thu May 2 15:38:45 2019 New Revision: 500667 URL: https://svnweb.freebsd.org/changeset/ports/500667 Log: audio/nekobi-lv2: fix build with GCC-based architectures This port requires C++11-compatible compiler to build on GCC architectures. Additionally, remove -mtune=generic -msse -msse2 on GCC architectures. PR: D20112 Approved by: yuri (maintainer), mat (mentor) Differential Revision: https://reviews.freebsd.org/D20112 Modified: head/audio/nekobi-lv2/Makefile Modified: head/audio/nekobi-lv2/Makefile ============================================================================== --- head/audio/nekobi-lv2/Makefile Thu May 2 15:37:51 2019 (r500666) +++ head/audio/nekobi-lv2/Makefile Thu May 2 15:38:45 2019 (r500667) @@ -16,7 +16,7 @@ BUILD_DEPENDS= lv2>0:audio/lv2 \ bash:shells/bash LIB_DEPENDS= libjack.so:audio/jack -USES= gl gmake localbase pkgconfig shebangfix +USES= compiler:c++11-lang gl gmake localbase pkgconfig shebangfix SHEBANG_FILES= dpf/utils/generate-ttl.sh USE_GITHUB= yes GH_ACCOUNT= DISTRHO @@ -28,6 +28,12 @@ USE_XORG= x11 CFLAGS+= -I${FILESDIR} CFLAGS+= -Wno-c++11-narrowing # clang prints errors: https://github.com/DISTRHO/Nekobi/issues/7 + +.if exists(/usr/lib/libstdc++.so) +post-patch: + @${REINPLACE_CMD} -e 's/-mtune=generic -msse -msse2 //' \ + ${WRKSRC}/dpf/Makefile.base.mk +.endif do-install: # https://github.com/DISTRHO/Nekobi/issues/8 @${MKDIR} ${STAGEDIR}${PREFIX}/lib/lv2
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905021538.x42Fcj8b041805>