1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-21 20:50:31 -04:00
ports/devel/jsoncpp/files/patch-SConstruct
Danilo Egea Gondolfo e3fd61c83f - Add new port devel/jsoncpp
jsoncpp is an implementation of a JSON reader and writer in C++.

PR:		ports/185592
Submitted by:	Johan Str?m <johan@stromnet.se>
2014-01-21 18:43:56 +00:00

11 lines
504 B
Text

--- ./SConstruct.orig 2014-01-21 02:29:19.000000000 -0200
+++ ./SConstruct 2014-01-21 02:29:28.000000000 -0200
@@ -26,7 +26,7 @@
if platform == 'linux-gcc':
CXX = 'g++' # not quite right, but env is not yet available.
import commands
- version = commands.getoutput('%s -dumpversion' %CXX)
+ version = 'FreeBSD'
platform = 'linux-gcc-%s' %version
print "Using platform '%s'" %platform
LD_LIBRARY_PATH = os.environ.get('LD_LIBRARY_PATH', '')