summaryrefslogtreecommitdiff
path: root/net-mgmt/wmi-client/files/patch-GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/wmi-client/files/patch-GNUmakefile')
-rw-r--r--net-mgmt/wmi-client/files/patch-GNUmakefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/net-mgmt/wmi-client/files/patch-GNUmakefile b/net-mgmt/wmi-client/files/patch-GNUmakefile
new file mode 100644
index 000000000000..fde4eaa2b8fe
--- /dev/null
+++ b/net-mgmt/wmi-client/files/patch-GNUmakefile
@@ -0,0 +1,29 @@
+--- GNUmakefile.orig 2011-12-23 13:58:36.000000000 +0000
++++ GNUmakefile 2012-04-13 04:10:44.000000000 +0000
+@@ -36,7 +36,7 @@
+ # Install dir for libasync_wmi_lib.so.* and pysamba wrapper code.
+ # e.g., Samba/source/bin/shared/libasync_wmi_lib.so.0.0.1 --> $(PY_LIBDIR)
+ #
+-PY_LIBDIR = $(ZENHOME)/lib/python
++PY_LIBDIR? = $(ZENHOME)/lib/python
+
+ #-------------------------------------------------------------------------#
+ # A key deliverable of this build process is the libasync_wmi shared #
+@@ -70,7 +70,7 @@
+ #-------------------------------------------------------------------------#
+ # Comment out the next line to disable google-breakpad dependency.
+ ifneq ($(shell uname), Darwin)
+-USE_BREAKPAD = 1
++#USE_BREAKPAD = 1
+ endif
+
+ ifneq ($(USE_BREAKPAD),)
+@@ -158,7 +158,7 @@
+ $(SAMBA_SRCDIR)/Makefile: $(SAMBA_SRCDIR)/autogen.sh
+ cd $(SAMBA_SRCDIR) ;\
+ ./autogen.sh ;\
+- CPPFLAGS="$(WMI_CPPFLAGS)" ./configure --without-readline --enable-debug
++ CPPFLAGS="$(WMI_CPPFLAGS)" ./configure --without-readline --enable-debug --disable-gnutls
+
+ ifeq ($(USE_BREAKPAD),)
+ pywmi-build: build-prereqs $(LIBRPC_CONFIG_MK) $(SAMBA_SRCDIR)/Makefile