freebsd-ports/net-mgmt/wmi-client/files/patch-GNUmakefile
Motoyuki Konno c679424d17 Add Pandora FMS 4.0.1 - a Flexible Monitoring System.
WMI client 1.3.16 - a WMI (Windows Management Instrumentation) client
                        which is needed for Pandora FMS.
Submitted by:	KIKUCHI Koichiro <koichiro@rworks.jp>
		Junichi Satoh <junichi@junichi.org>
WWW;		http://pandorafms.org/
Feature safe:	yes
2012-04-21 12:27:40 +00:00

29 lines
1.1 KiB
Text

--- 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