Date: Wed, 3 May 2017 19:35:25 +0000 (UTC) From: Pawel Pekala <pawel@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r440033 - head/multimedia/kodi/files Message-ID: <201705031935.v43JZPZm027638@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pawel Date: Wed May 3 19:35:25 2017 New Revision: 440033 URL: https://svnweb.freebsd.org/changeset/ports/440033 Log: Fix build on systems with gcc installed by respecting CXX JsonSchemaBuilder configure picks up g++ as compiler: g++ -DPACKAGE_NAME=\"JsonSchemaBuilder\" -DPACKAGE_TARNAME=\"jsonschemabuilder\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"JsonSchemaBuilder\ 1.0\" -DPACKAGE_BUGREPORT=\"me@mail.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"jsonschemabuilder\" -DVERSION=\"1.0\" -I. -g -O2 -MT JsonSchemaBuilder.o -MD -MP -MF .deps/JsonSchemaBuilder.Tpo -c -o JsonSchemaBuilder.o JsonSchemaBuilder.cpp Later compiled binary fails to execute: ../../../tools/depends/native/JsonSchemaBuilder/bin/JsonSchemaBuilder schema/version.txt schema/license.txt schema/methods.json schema/types.json schema/notifications.json /usr/local/lib/gcc49/libstdc++.so.6: version GLIBCXX_3.4.21 required by /hdd/ports/multimedia/kodi/work/xbmc-fc1619b/tools/depends/native/ JsonSchemaBuilder/bin/JsonSchemaBuilder not found PR: 218714 Submitted by: myself Approved by: maintainer timeout Added: head/multimedia/kodi/files/patch-tools_depends_native_JsonSchemaBuilder_Makefile (contents, props changed) Added: head/multimedia/kodi/files/patch-tools_depends_native_JsonSchemaBuilder_Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/kodi/files/patch-tools_depends_native_JsonSchemaBuilder_Makefile Wed May 3 19:35:25 2017 (r440033) @@ -0,0 +1,11 @@ +--- tools/depends/native/JsonSchemaBuilder/Makefile.orig 2017-04-13 17:25:58 UTC ++++ tools/depends/native/JsonSchemaBuilder/Makefile +@@ -25,7 +25,7 @@ $(PLATFORM): + -rm -rf $(PLATFORM)/*; mkdir -p $(PLATFORM) + cd $(PLATFORM); cp -a $(SOURCE)/* . + cd $(PLATFORM); ./autogen.sh +- cd $(PLATFORM); $(CONFIGURE) ++ cd $(PLATFORM); env CXX=${CXX} $(CONFIGURE) + + + $(APP): $(PLATFORM)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705031935.v43JZPZm027638>