svn commit: r440033 - head/multimedia/kodi/files

Pawel Pekala pawel at FreeBSD.org
Wed May 3 19:35:27 UTC 2017


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 at 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)


More information about the svn-ports-all mailing list