- fix build on s390x which has no libsensors
This commit is contained in:
parent
7ac18750f2
commit
6ec5c8a9d1
@ -192,7 +192,11 @@ MIBS="$MIBS ucd-snmp/lmsensorsMib"
|
|||||||
%configure \
|
%configure \
|
||||||
--enable-static --enable-shared \
|
--enable-static --enable-shared \
|
||||||
--with-cflags="$RPM_OPT_FLAGS -D_RPM_4_4_COMPAT" \
|
--with-cflags="$RPM_OPT_FLAGS -D_RPM_4_4_COMPAT" \
|
||||||
|
%ifnarch s390 s390x
|
||||||
--with-ldflags="$LDFLAGS -lcrypto -lsensors" \
|
--with-ldflags="$LDFLAGS -lcrypto -lsensors" \
|
||||||
|
%else
|
||||||
|
--with-ldflags="$LDFLAGS -lcrypto" \
|
||||||
|
%endif
|
||||||
--with-sys-location="Unknown" \
|
--with-sys-location="Unknown" \
|
||||||
--with-logfile="/var/log/snmpd.log" \
|
--with-logfile="/var/log/snmpd.log" \
|
||||||
--with-persistent-directory="/var/net-snmp" \
|
--with-persistent-directory="/var/net-snmp" \
|
||||||
@ -415,6 +419,9 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
%{_datadir}/snmp/mibs
|
%{_datadir}/snmp/mibs
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jan 30 2009 Karsten Hopp <karsten@redhat.com> 5.4.2.1-7
|
||||||
|
- fix build on s390x which has no libsensors
|
||||||
|
|
||||||
* Sat Jan 17 2009 Tomas Mraz <tmraz@redhat.com> 5.4.2.1-7
|
* Sat Jan 17 2009 Tomas Mraz <tmraz@redhat.com> 5.4.2.1-7
|
||||||
- rebuild with new openssl
|
- rebuild with new openssl
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user