]> git.pld-linux.org Git - packages/samba.git/blame - samba-python.patch
- disable unused code with a bug
[packages/samba.git] / samba-python.patch
CommitLineData
fce12574
AG
1disable python bindings
2
3based on:
4- http://gitweb.samba.org/?p=samba.git;a=commitdiff_plain;h=e349e2c54117c528b9d194f356399c57e2a04b56
5- http://gitweb.samba.org/?p=samba.git;a=commitdiff_plain;h=0d33b0bfca668ef573499a3c2904f1fb071ec7b9
6- http://gitweb.samba.org/?p=samba.git;a=commitdiff_plain;h=ebb79e27dcea6e0b8215b878c9d42bcc9dd960e7
7
8--- a/source3/samba4.mk
9+++ b/source3/samba4.mk
10@@ -124,7 +124,7 @@ tallocsrcdir := $(samba4srcdir)/../lib/talloc
11 comsrcdir := $(samba4srcdir)/lib/com
12 override ASN1C = bin/asn1_compile4
13 override ET_COMPILER = bin/compile_et4
14-include $(samba4srcdir)/build/make/python.mk
15+#include $(samba4srcdir)/build/make/python.mk
16 include samba4-data.mk
17 include $(samba4srcdir)/static_deps.mk
18
19@@ -165,10 +165,17 @@ clean::
20 proto:: $(PROTO_HEADERS)
21 modules:: $(PLUGINS)
22
23-pythonmods:: $(PYTHON_PYS) $(PYTHON_SO)
24+#pythonmods:: $(PYTHON_PYS) $(PYTHON_SO)
25
26-all:: bin/samba4 bin/regpatch4 bin/regdiff4 bin/regshell4 bin/regtree4 bin/smbclient4 bin/wbinfo4 pythonmods setup plugins
27+all:: bin/samba4 bin/regpatch4 bin/regdiff4 bin/regshell4 bin/regtree4 bin/smbclient4 bin/wbinfo4 setup plugins
28 torture:: bin/smbtorture4
29+
30+#
31+## This is a fake rule to stop any python being invoked as currently the
32+## build system is broken in source3 with python. JRA.
33+#
34+installpython:: bin/smbtorture4
35+
36 everything:: $(patsubst %,%4,$(BINARIES))
37 setup:
38 @ln -sf ../source4/setup setup
39--- a/source3/samba4.m4
40--- b/source3/samba4.m4
41@@ -90,7 +90,6 @@
42 [],[m4_include(../lib/tevent/samba.m4)]
43 )
44
45-SMB_INCLUDE_MK(../lib/tevent/python.mk)
46
47 SMB_EXT_LIB_FROM_PKGCONFIG(LIBLDB, ldb = $LDB_REQUIRED_VERSION,
48 [
This page took 0.036005 seconds and 4 git commands to generate.