]> git.pld-linux.org Git - packages/cacti-plugin-npc.git/commitdiff
- BR glib2-devel
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 5 Oct 2008 11:30:19 +0000 (11:30 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- provided makefile is pointless, compile here and add glib includepath
- however build fails with nagios3

Changed files:
    cacti-plugin-npc.spec -> 1.17

cacti-plugin-npc.spec

index 2469d9040612aa503e1175aac7ed7997b2e62f8d..d1b1711ffd24fd7617047e64c56b1a474215dfcd 100644 (file)
@@ -17,6 +17,7 @@ Patch0:               %{name}-path_headers.patch
 # from http://forums.cacti.net/about10327-0-asc-135.html
 Patch1:                %{name}-extinfo.patch
 URL:           http://forums.cacti.net/about10327.html
 # from http://forums.cacti.net/about10327-0-asc-135.html
 Patch1:                %{name}-extinfo.patch
 URL:           http://forums.cacti.net/about10327.html
+BuildRequires: glib2-devel
 BuildRequires: mysql-devel >= 4.1.0
 BuildRequires: nagios-devel >= 2.1
 BuildRequires: rpm-perlprov
 BuildRequires: mysql-devel >= 4.1.0
 BuildRequires: nagios-devel >= 2.1
 BuildRequires: rpm-perlprov
@@ -41,7 +42,8 @@ zintegrowany z Cacti.
 %patch1 -p1
 
 %build
 %patch1 -p1
 
 %build
-%{__make} -C neb
+cd neb
+%{__cc} %{rpmcflags} -Wall -o inserter.o inserter.c -shared -I../include $(pkg-config glib-2.0 --cflags) $(mysql_config --cflags --libs) -fPIC
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.088495 seconds and 4 git commands to generate.