SF.net SVN: gar:[23195] csw/mgar/pkg/scons/trunk/Makefile

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Wed Mar 12 10:25:11 CET 2014


Revision: 23195
          http://sourceforge.net/p/gar/code/23195
Author:   dmichelsen
Date:     2014-03-12 09:25:10 +0000 (Wed, 12 Mar 2014)
Log Message:
-----------
scons/trunk: Force usage of Python 2.7 or strange things happen on scons invocation

Modified Paths:
--------------
    csw/mgar/pkg/scons/trunk/Makefile

Modified: csw/mgar/pkg/scons/trunk/Makefile
===================================================================
--- csw/mgar/pkg/scons/trunk/Makefile	2014-03-11 18:26:10 UTC (rev 23194)
+++ csw/mgar/pkg/scons/trunk/Makefile	2014-03-12 09:25:10 UTC (rev 23195)
@@ -35,7 +35,16 @@
 # PKGFILES is catchall
 ARCHALL_CSWscons = 1
 CHECKPKG_OVERRIDES_CSWscons += file-with-bad-content
+# We definitely need Python 2.7
+RUNTIME_DEP_PKGS_CSWscons += CSWpython27
+CHECKPKG_OVERRIDES_CSWscons += surplus-dependency|CSWpython27
 
+# scons needs Python 2.7
+REINPLACEMENTS += python
+REINPLACE_MATCH_python = \#!.*
+REINPLACE_WITH_python = \#!/opt/csw/bin/python27
+REINPLACE_FILES_python += script/scons
+
 CONFIGURE_SCRIPTS =
 TEST_SCRIPTS = 
 EXTRA_PAX_ARGS = -s ",\./opt/csw/man,./opt/csw/share/man,"

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list