Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Aug 2020 13:49:22 +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: r545326 - in head/audio/geonkick-lv2: . files
Message-ID:  <202008191349.07JDnMuW072523@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Wed Aug 19 13:49:21 2020
New Revision: 545326
URL: https://svnweb.freebsd.org/changeset/ports/545326

Log:
  audio/geonkick-lv2: fix build on GCC architectures
  
  -lstdc++fs is necessary for gcc.
  
  MFH:		2020Q3 (fix build blanket)

Added:
  head/audio/geonkick-lv2/files/extra-patch-plugin_lv2_CMakeLists.txt
     - copied unchanged from r545325, head/audio/geonkick-lv2/files/patch-plugin_lv2_CMakeLists.txt
  head/audio/geonkick-lv2/files/extra-patch-standalone_CMakeLists.txt
     - copied unchanged from r545325, head/audio/geonkick-lv2/files/patch-standalone_CMakeLists.txt
Deleted:
  head/audio/geonkick-lv2/files/patch-plugin_lv2_CMakeLists.txt
  head/audio/geonkick-lv2/files/patch-standalone_CMakeLists.txt
Modified:
  head/audio/geonkick-lv2/Makefile

Modified: head/audio/geonkick-lv2/Makefile
==============================================================================
--- head/audio/geonkick-lv2/Makefile	Wed Aug 19 13:44:07 2020	(r545325)
+++ head/audio/geonkick-lv2/Makefile	Wed Aug 19 13:49:21 2020	(r545326)
@@ -12,10 +12,6 @@ COMMENT=	Software percussion synthesizer
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-.if exists(/usr/include/c++/v1) && !exists(/usr/include/c++/v1/filesystem)
-BROKEN=		STL feature 'filesystem' isn't available # '
-.endif
-
 BUILD_DEPENDS=	lv2>0:audio/lv2 \
 		gmake:devel/gmake \
 		rapidjson>0:devel/rapidjson \
@@ -35,4 +31,11 @@ CMAKE_ARGS=	-DFREEBSD_GMAKE=${GMAKE}
 
 #INSTALLS_ICONS=	yes # disabled because it causes: gtk-update-icon-cache: Failed to open file /usr/local/share/icons/hicolor/.icon-theme.cache : Permission denied
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${CHOSEN_COMPILER_TYPE} == clang
+EXTRA_PATCHES=	${FILESDIR}/extra-patch-plugin_lv2_CMakeLists.txt \
+		${FILESDIR}/extra-patch-standalone_CMakeLists.txt
+.endif
+
+.include <bsd.port.post.mk>

Copied: head/audio/geonkick-lv2/files/extra-patch-plugin_lv2_CMakeLists.txt (from r545325, head/audio/geonkick-lv2/files/patch-plugin_lv2_CMakeLists.txt)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/geonkick-lv2/files/extra-patch-plugin_lv2_CMakeLists.txt	Wed Aug 19 13:49:21 2020	(r545326, copy of r545325, head/audio/geonkick-lv2/files/patch-plugin_lv2_CMakeLists.txt)
@@ -0,0 +1,11 @@
+--- plugin/lv2/CMakeLists.txt.orig	2019-08-07 16:22:12 UTC
++++ plugin/lv2/CMakeLists.txt
+@@ -6,7 +6,7 @@ add_library(geonkick_lv2 SHARED
+   ${GKICK_LV2_SOURCES})
+ 
+ target_link_libraries(geonkick_lv2  geonkick_common api_lv2)
+-target_link_libraries(geonkick_lv2 "-lstdc++fs")
++#target_link_libraries(geonkick_lv2 "-lstdc++fs")
+ target_link_libraries(geonkick_lv2 "-lredkite -lX11 -lsndfile -lrt -lm -ldl -lpthread -lcairo")
+ add_dependencies(geonkick_lv2 api_lv2)
+ 

Copied: head/audio/geonkick-lv2/files/extra-patch-standalone_CMakeLists.txt (from r545325, head/audio/geonkick-lv2/files/patch-standalone_CMakeLists.txt)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/geonkick-lv2/files/extra-patch-standalone_CMakeLists.txt	Wed Aug 19 13:49:21 2020	(r545326, copy of r545325, head/audio/geonkick-lv2/files/patch-standalone_CMakeLists.txt)
@@ -0,0 +1,11 @@
+--- standalone/CMakeLists.txt.orig	2019-08-07 16:23:18 UTC
++++ standalone/CMakeLists.txt
+@@ -7,7 +7,7 @@ add_executable(geonkick
+ 
+ add_dependencies(geonkick api_standalone)
+ target_link_libraries(geonkick  geonkick_common api_standalone)
+-target_link_libraries(geonkick "-lstdc++fs")
++#target_link_libraries(geonkick "-lstdc++fs")
+ target_link_libraries(geonkick "-lredkite -lX11 -ljack -lsndfile -lrt -lm -ldl -lpthread -lcairo")
+ 
+ install(TARGETS geonkick DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008191349.07JDnMuW072523>