[28887] trunk/dports/net/zabbix

source_changes at macosforge.org source_changes at macosforge.org
Mon Sep 10 14:57:34 PDT 2007


Revision: 28887
          http://trac.macosforge.org/projects/macports/changeset/28887
Author:   markd at macports.org
Date:     2007-09-10 14:57:34 -0700 (Mon, 10 Sep 2007)

Log Message:
-----------
Added -lresolv to fix linking errors.

Modified Paths:
--------------
    trunk/dports/net/zabbix/Portfile

Added Paths:
-----------
    trunk/dports/net/zabbix/files/patch-src-libs-zbxsysinfo-osx-cpu

Modified: trunk/dports/net/zabbix/Portfile
===================================================================
--- trunk/dports/net/zabbix/Portfile	2007-09-10 20:00:47 UTC (rev 28886)
+++ trunk/dports/net/zabbix/Portfile	2007-09-10 21:57:34 UTC (rev 28887)
@@ -4,8 +4,9 @@
 
 name			zabbix
 version			1.4.2
+revision		1
 categories		net
-maintainers		markd at macports.org
+maintainers		markd
 platforms		darwin
 
 description		An open source application and network monitor
@@ -16,7 +17,7 @@
 master_sites		sourceforge
 checksums		md5 1a89f3b8b0925c6373379b4c5dd3138b
 default_variants	+server
-
+patchfiles		patch-src-libs-zbxsysinfo-osx-cpu
 depends_lib		port:mysql5 \
 				port:fping
 
@@ -34,6 +35,8 @@
 			--mandir=${prefix}/man \
 			--with-mysql=${prefix}/lib/mysql5/bin/mysql_config
 
+configure.ldflags-append	-lresolv
+
 if { [variant_isset agent_only] } {
 	startupitem.create      yes
 	startupitem.start       "${prefix}/share/zabbix/zabbix_agentd.init start"

Added: trunk/dports/net/zabbix/files/patch-src-libs-zbxsysinfo-osx-cpu
===================================================================
--- trunk/dports/net/zabbix/files/patch-src-libs-zbxsysinfo-osx-cpu	                        (rev 0)
+++ trunk/dports/net/zabbix/files/patch-src-libs-zbxsysinfo-osx-cpu	2007-09-10 21:57:34 UTC (rev 28887)
@@ -0,0 +1,11 @@
+--- src/libs/zbxsysinfo/osx/cpu.c.org	2007-09-10 14:43:00.000000000 -0700
++++ src/libs/zbxsysinfo/osx/cpu.c	2007-09-10 14:43:20.000000000 -0700
+@@ -46,7 +46,7 @@
+ 
+         if(get_param(param, 1, cpuname, sizeof(cpuname)) != 0)
+         {
+-                cpuname[0] == '\0'
++                cpuname[0] = '\0';
+         }
+ 
+ 	if(cpuname[0] == '\0')

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070910/16c2c41d/attachment.html


More information about the macports-changes mailing list