summaryrefslogtreecommitdiff
path: root/net-mgmt/wmi-client/files/patch-GNUmakefile
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-08-23 16:38:43 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-08-23 16:38:43 +0000
commitd6436f18881a064a80da91617c3243e0bf97387b (patch)
treeb7aa70a2805e0de5683c0fec62d602b1a8a59fd7 /net-mgmt/wmi-client/files/patch-GNUmakefile
parentUpdate to 1.2.104 and stage. (diff)
- Add STAGE support
- (re)take maintainership - Add patch to fix "Failed to install service" issue occurs in recent windows (see http://community.zenoss.org/message/48714) - Make python bindings optional. it's mainly used in ZENOSS internally and should be optional. PR: 192853 Submitted by: KIKUCHI Koichiro
Notes
Notes: svn path=/head/; revision=365756
Diffstat (limited to 'net-mgmt/wmi-client/files/patch-GNUmakefile')
-rw-r--r--net-mgmt/wmi-client/files/patch-GNUmakefile26
1 files changed, 21 insertions, 5 deletions
diff --git a/net-mgmt/wmi-client/files/patch-GNUmakefile b/net-mgmt/wmi-client/files/patch-GNUmakefile
index fde4eaa2b8fe..102b34a866a2 100644
--- a/net-mgmt/wmi-client/files/patch-GNUmakefile
+++ b/net-mgmt/wmi-client/files/patch-GNUmakefile
@@ -1,5 +1,5 @@
---- GNUmakefile.orig 2011-12-23 13:58:36.000000000 +0000
-+++ GNUmakefile 2012-04-13 04:10:44.000000000 +0000
+--- GNUmakefile.orig 2011-12-23 22:58:36.000000000 +0900
++++ GNUmakefile 2014-08-21 13:05:52.000000000 +0900
@@ -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)
@@ -18,12 +18,28 @@
endif
ifneq ($(USE_BREAKPAD),)
-@@ -158,7 +158,7 @@
+@@ -124,7 +124,7 @@
+ endif
+ @touch $@
+
+-install-prereqs:
++install-prereqs: $(DESTDIR)$(PY_LIBDIR)
+ @echo
+ @echo "Checking prequisites for installing WMI"
+ $(call check,directory,$(ZENHOME),"ZENHOME")
+@@ -157,12 +157,12 @@
$(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
++ CPPFLAGS="$(WMI_CPPFLAGS)" SMB_GNUTLS=NO ./configure --prefix=$(PREFIX) --without-readline
ifeq ($(USE_BREAKPAD),)
- pywmi-build: build-prereqs $(LIBRPC_CONFIG_MK) $(SAMBA_SRCDIR)/Makefile
+-pywmi-build: build-prereqs $(LIBRPC_CONFIG_MK) $(SAMBA_SRCDIR)/Makefile
++pywmi-build: $(LIBRPC_CONFIG_MK) $(SAMBA_SRCDIR)/Makefile
+ else
+-pywmi-build: build-prereqs $(LIBRPC_CONFIG_MK) $(SAMBA_SRCDIR)/Makefile $(breakpad_LIB_SYMLINK)
++pywmi-build: $(LIBRPC_CONFIG_MK) $(SAMBA_SRCDIR)/Makefile $(breakpad_LIB_SYMLINK)
+ endif
+ cd $(SAMBA_SRCDIR);\
+ $(MAKE) $(WMI_BUILD_TARGETS) ;\