SPECS: hpoj.spec - pass CC, use workaround for getopt.h from net-snmp

qboosh qboosh at pld-linux.org
Thu Mar 9 15:13:31 CET 2006


Author: qboosh                       Date: Thu Mar  9 14:13:31 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pass CC, use workaround for getopt.h from net-snmp

---- Files affected:
SPECS:
   hpoj.spec (1.9 -> 1.10) 

---- Diffs:

================================================================
Index: SPECS/hpoj.spec
diff -u SPECS/hpoj.spec:1.9 SPECS/hpoj.spec:1.10
--- SPECS/hpoj.spec:1.9	Sun Dec 14 22:27:28 2003
+++ SPECS/hpoj.spec	Thu Mar  9 15:13:25 2006
@@ -122,8 +122,10 @@
 	--with-sane-backend=/usr/lib/sane \
 	--with-sane-etc=/etc/sane.d
 
+# -D... is a workaround for /usr/include/net-snmp/library/getopt.h
 %{__make} \
-	OPTFLAGS="%{rpmcflags}"
+	CC="%{__cc}" \
+	OPTFLAGS="%{rpmcflags} -D_GETOPT_H_"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -192,6 +194,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.10  2006/03/09 14:13:25  qboosh
+- pass CC, use workaround for getopt.h from net-snmp
+
 Revision 1.9  2003/12/14 21:27:28  qboosh
 - updated to 0.91, updated all patches
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/hpoj.spec?r1=1.9&r2=1.10&f=u



More information about the pld-cvs-commit mailing list