svn commit: r504631 - head/audio/infamous-plugins-lv2
Mark Linimon
linimon at FreeBSD.org
Thu Jun 20 15:21:42 UTC 2019
Author: linimon
Date: Thu Jun 20 15:21:40 2019
New Revision: 504631
URL: https://svnweb.freebsd.org/changeset/ports/504631
Log:
Patch out -Og flag in src/*/CMakeLists.txt to fix build on GCC-based
systems such as powerpc64:
cc1: invalid option argument '-Og'
Approved by: portmgr (tier-2 blanket)
Modified:
head/audio/infamous-plugins-lv2/Makefile
Modified: head/audio/infamous-plugins-lv2/Makefile
==============================================================================
--- head/audio/infamous-plugins-lv2/Makefile Thu Jun 20 13:19:41 2019 (r504630)
+++ head/audio/infamous-plugins-lv2/Makefile Thu Jun 20 15:21:40 2019 (r504631)
@@ -12,22 +12,26 @@ COMMENT= LV2 plugins for various sound effects
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-BROKEN_powerpc64= fails to compile: cc1: invalid option argument '-Og'
-
BUILD_DEPENDS= lv2>0:audio/lv2 \
${LOCALBASE}/lib/libfftw3.so:math/fftw3
LIB_DEPENDS= libfftw3f.so:math/fftw3-float \
libntk.so:x11-toolkits/ntk \
libzita-resampler.so:audio/zita-resampler
-USES= cmake gnome localbase pkgconfig
+USES= cmake compiler gnome localbase pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= ssj71
GH_PROJECT= infamousPlugins
USE_GNOME= cairo
+.include <bsd.port.pre.mk>
+
post-patch:
@${REINPLACE_CMD} -e 's| -g"|"|' \
${WRKSRC}/src/*/CMakeLists.txt
+.if ${CHOSEN_COMPILER_TYPE} == gcc
+ @${REINPLACE_CMD} -e 's| -Og"|"|' \
+ ${WRKSRC}/src/*/CMakeLists.txt
+.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
More information about the svn-ports-head
mailing list