1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[standard]= Alternative build tool competing with make
8 HOMEPAGE= https://www.scons.org/
12 SITES[main]= PYPIWHL/e6/a4/c7a1fb8e60067fe4eb5f4bfd13ce9f51bec963dd9a5c50321d8a20b7a3f2
13 DISTFILE[1]= SCons-4.5.2.tar.gz:main
15 SPKGS[standard]= single
17 OPTIONS_AVAILABLE= none
18 OPTIONS_STANDARD= none
20 RUN_DEPENDS= m4:primary:standard
27 LICENSE_FILE= MIT:{{WRKSRC}}/LICENSE
30 FPC_EQUIVALENT= devel/scons
33 ${FIND} ${WRKSRC} -name \*.orig -delete
36 ${MV} ${STAGEDIR}${PREFIX}/*.1 ${STAGEDIR}${MANPREFIX}/man/man1/
38 [FILE:351:descriptions/desc.single]
39 SCons is an Open Source software construction tool???that is, a
40 next-generation build tool. Think of SCons as an improved, cross-platform
41 substitute for the classic Make utility with integrated functionality
42 similar to autoconf/automake and compiler caches such as ccache. In short,
43 SCons is an easier, more reliable and faster way to build software.
47 813360b2bce476bc9cc12a0f3a22d46ce520796b352557202cb07d3e402f5458 3194717 SCons-4.5.2.tar.gz
50 [FILE:867:patches/patch-SCons_Tool_____init____.py]
51 --- SCons/Tool/__init__.py.orig 2023-01-24 04:14:53 UTC
52 +++ SCons/Tool/__init__.py
53 @@ -715,13 +715,12 @@ def tool_list(platform, env):
55 elif str(platform) == 'sunos':
56 "prefer Forte tools on SunOS"
57 - linkers = ['sunlink', 'gnulink']
58 - c_compilers = ['suncc', 'gcc', 'cc']
59 - cxx_compilers = ['suncxx', 'g++', 'cxx']
60 + linkers = ['gnulink']
61 + c_compilers = ['gcc', 'cc']
62 + cxx_compilers = ['g++', 'cxx']
63 assemblers = ['as', 'gas']
64 - fortran_compilers = ['sunf95', 'sunf90', 'sunf77', 'f95', 'f90', 'f77',
65 - 'gfortran', 'g77', 'fortran']
67 + fortran_compilers = ['gfortran', 'g77']
69 elif str(platform) == 'hpux':
70 "prefer aCC tools on HP-UX"
71 linkers = ['hplink', 'gnulink']
74 [FILE:407:patches/patch-SCons_Tool_gnulink.py]
75 --- SCons/Tool/gnulink.py.orig 2023-01-24 04:14:53 UTC
76 +++ SCons/Tool/gnulink.py
77 @@ -48,7 +48,7 @@ def generate(env):
79 # __RPATH is set to $_RPATH in the platform specification if that
80 # platform supports it.
81 - env['RPATHPREFIX'] = '-Wl,-rpath='
82 + env['RPATHPREFIX'] = '-Wl,-rpath,'
83 env['RPATHSUFFIX'] = ''
84 env['_RPATH'] = '${_concat(RPATHPREFIX, RPATH, RPATHSUFFIX, __env__)}'
88 [FILE:437:patches/patch-SCons_Tool_m4.py]
89 --- SCons/Tool/m4.py.orig 2023-01-24 04:14:53 UTC
91 @@ -49,7 +49,7 @@ def generate(env):
92 # file and run from there.
93 # The src_suffix setup is like so: file.c.m4 -> file.c,
94 # file.cpp.m4 -> file.cpp etc.
97 env['M4FLAGS'] = SCons.Util.CLVar('-E')
98 env['M4COM'] = 'cd ${SOURCE.rsrcdir} && $M4 $M4FLAGS < ${SOURCE.file} > ${TARGET.abspath}'