updated on Thu Jan 12 16:09:17 UTC 2012
[aur-mirror.git] / sems / patch-python2.patch
blob9f705f32207e8d7f095c83f23371b8918f05d386
1 diff -aur sems-1.4.1-orig//apps/dsm/mods/mod_py/Makefile sems-1.4.1/apps/dsm/mods/mod_py/Makefile
2 --- sems-1.4.1-orig//apps/dsm/mods/mod_py/Makefile 2011-07-18 10:14:51.172843572 +0200
3 +++ sems-1.4.1/apps/dsm/mods/mod_py/Makefile 2011-07-18 10:15:38.022840968 +0200
4 @@ -1,6 +1,6 @@
5 plug_in_name = mod_py
7 -PYTHON_VERSION ?= $(shell python -c 'import sys;print sys.version[0:3]')
8 +PYTHON_VERSION ?= $(shell python2 -c 'import sys;print sys.version[0:3]')
9 PY_VER = $(PYTHON_VERSION)
10 PY_EXE = python$(PY_VER)
12 @@ -36,4 +36,4 @@
13 ifneq ($(OS),solaris)
14 PYTHON_module_ldflags += -Xlinker --export-dynamic
15 endif
16 -endif
17 \ No newline at end of file
18 +endif
19 diff -aur sems-1.4.1-orig//apps/ivr/Makefile.defs sems-1.4.1/apps/ivr/Makefile.defs
20 --- sems-1.4.1-orig//apps/ivr/Makefile.defs 2011-07-18 10:14:51.162843570 +0200
21 +++ sems-1.4.1/apps/ivr/Makefile.defs 2011-07-18 10:15:19.269508826 +0200
22 @@ -1,6 +1,6 @@
23 # Python version: 2.5, 2.4 or 2.3
25 -PYTHON_VERSION ?= $(shell python -c 'import sys;print sys.version[0:3]')
26 +PYTHON_VERSION ?= $(shell python2 -c 'import sys;print sys.version[0:3]')
28 PY_VER = $(PYTHON_VERSION)
29 PY_EXE = python$(PY_VER)