SPECS: cacti-plugin-npc.spec - BR glib2-devel - provided makefile is pointl...

glen glen at pld-linux.org
Sun Oct 5 13:30:24 CEST 2008


Author: glen                         Date: Sun Oct  5 11:30:24 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- BR glib2-devel
- provided makefile is pointless, compile here and add glib includepath
- however build fails with nagios3

---- Files affected:
SPECS:
   cacti-plugin-npc.spec (1.16 -> 1.17) 

---- Diffs:

================================================================
Index: SPECS/cacti-plugin-npc.spec
diff -u SPECS/cacti-plugin-npc.spec:1.16 SPECS/cacti-plugin-npc.spec:1.17
--- SPECS/cacti-plugin-npc.spec:1.16	Sun Oct  5 13:19:00 2008
+++ SPECS/cacti-plugin-npc.spec	Sun Oct  5 13:30:19 2008
@@ -18,6 +18,7 @@
 # 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
@@ -42,7 +43,8 @@
 %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
@@ -77,6 +79,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.17  2008/10/05 11:30:19  glen
+- BR glib2-devel
+- provided makefile is pointless, compile here and add glib includepath
+- however build fails with nagios3
+
 Revision 1.16  2008/10/05 11:19:00  glen
 - re-entrant install
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/cacti-plugin-npc.spec?r1=1.16&r2=1.17&f=u



More information about the pld-cvs-commit mailing list