summaryrefslogtreecommitdiffstats
path: root/samba4-waf_target.patch
diff options
context:
space:
mode:
Diffstat (limited to 'samba4-waf_target.patch')
-rw-r--r--samba4-waf_target.patch37
1 files changed, 19 insertions, 18 deletions
diff --git a/samba4-waf_target.patch b/samba4-waf_target.patch
index 3690d20..b9d076c 100644
--- a/samba4-waf_target.patch
+++ b/samba4-waf_target.patch
@@ -1,28 +1,29 @@
-commit 7c7d54e0d18e1a840abdcc54be31b0dee998bd3f
+commit b6880efe1ad8fbc3fe24919ae84edf46d31bd984
Author: Andreas Schneider <asn@samba.org>
AuthorDate: Thu Mar 15 17:04:00 2012 +0100
Commit: Andreas Schneider <asn@samba.org>
-CommitDate: Thu Mar 15 17:04:00 2012 +0100
+CommitDate: Thu Mar 15 17:08:58 2012 +0100
waf: Add autoconf --target support.
-
+
This is needed on some platforms so that you can set it and it is not
- automagicaly transformed into --targets.
+ automagically transformed into --targets. The --target option is
+ normally set by the RPM %configure macro.
---
buildtools/wafsamba/wscript | 3 +++
1 file changed, 3 insertions(+)
-diff --git a/buildtools/wafsamba/wscript b/buildtools/wafsamba/wscript
-index 094f9cc..49d2107 100755
---- a/buildtools/wafsamba/wscript
-+++ b/buildtools/wafsamba/wscript
-@@ -156,6 +156,9 @@ def set_options(opt):
- opt.add_option('--host',
- help=SUPPRESS_HELP,
- action='store', dest='AUTOCONF_HOST', default='')
-+ opt.add_option('--target',
-+ help=SUPPRESS_HELP,
-+ action='store', dest='AUTOCONF_TARGET', default='')
- opt.add_option('--program-prefix',
- help=SUPPRESS_HELP,
- action='store', dest='AUTOCONF_PROGRAM_PREFIX', default='') \ No newline at end of file
+Index: samba-4.0.0alpha18/buildtools/wafsamba/wscript
+===================================================================
+--- samba-4.0.0alpha18.orig/buildtools/wafsamba/wscript
++++ samba-4.0.0alpha18/buildtools/wafsamba/wscript
+@@ -156,6 +156,9 @@ def set_options(opt):
+ opt.add_option('--host',
+ help=SUPPRESS_HELP,
+ action='store', dest='AUTOCONF_HOST', default='')
++ opt.add_option('--target',
++ help=SUPPRESS_HELP,
++ action='store', dest='AUTOCONF_TARGET', default='')
+ opt.add_option('--program-prefix',
+ help=SUPPRESS_HELP,
+ action='store', dest='AUTOCONF_PROGRAM_PREFIX', default='')