- fix libdir in configure
This commit is contained in:
parent
36b04047fd
commit
f218da561b
@ -7,7 +7,7 @@
|
|||||||
Summary: A collection of SNMP protocol tools and libraries.
|
Summary: A collection of SNMP protocol tools and libraries.
|
||||||
Name: net-snmp
|
Name: net-snmp
|
||||||
Version: %{major_ver}.0
|
Version: %{major_ver}.0
|
||||||
Release: 2
|
Release: 3
|
||||||
|
|
||||||
License: BSDish
|
License: BSDish
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
@ -38,6 +38,7 @@ Patch24: net-snmp-5.3-size_t.patch
|
|||||||
Patch26: net-snmp-5.3_vendorperl.patch
|
Patch26: net-snmp-5.3_vendorperl.patch
|
||||||
Patch27: net-snmp-5.3.1-multilib.patch
|
Patch27: net-snmp-5.3.1-multilib.patch
|
||||||
Patch28: net-snmp-5.3.1-retrans_time.patch
|
Patch28: net-snmp-5.3.1-retrans_time.patch
|
||||||
|
Patch29: net-snmp-5.3.1-config_libdir.patch
|
||||||
|
|
||||||
Prereq: /sbin/chkconfig
|
Prereq: /sbin/chkconfig
|
||||||
Obsoletes: ucd-snmp
|
Obsoletes: ucd-snmp
|
||||||
@ -142,6 +143,7 @@ and applications.
|
|||||||
%patch24 -p1 -b .size_t
|
%patch24 -p1 -b .size_t
|
||||||
%patch27 -p1 -b .multilib
|
%patch27 -p1 -b .multilib
|
||||||
%patch28 -p0 -b .retrans_ms
|
%patch28 -p0 -b .retrans_ms
|
||||||
|
%patch29 -p1 -b .libdir
|
||||||
|
|
||||||
# Do this patch with a perl hack...
|
# Do this patch with a perl hack...
|
||||||
perl -pi -e "s|'\\\$install_libdir'|'%{_libdir}'|" ltmain.sh
|
perl -pi -e "s|'\\\$install_libdir'|'%{_libdir}'|" ltmain.sh
|
||||||
@ -150,6 +152,7 @@ perl -pi -e "s|'\\\$install_libdir'|'%{_libdir}'|" ltmain.sh
|
|||||||
%ifarch ia64 x86_64 s390x ppc64
|
%ifarch ia64 x86_64 s390x ppc64
|
||||||
export LDFLAGS="-L%{_libdir}"
|
export LDFLAGS="-L%{_libdir}"
|
||||||
%endif
|
%endif
|
||||||
|
export LIBDIR="%{_libdir}"
|
||||||
%configure \
|
%configure \
|
||||||
--enable-static --enable-shared \
|
--enable-static --enable-shared \
|
||||||
--with-cflags="$RPM_OPT_FLAGS -lcrypto" \
|
--with-cflags="$RPM_OPT_FLAGS -lcrypto" \
|
||||||
@ -343,6 +346,9 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
%{_libdir}/*.a
|
%{_libdir}/*.a
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Aug 10 2006 Radek Vokal <rvokal@redhat.com> 5.3.1.0-3
|
||||||
|
- fix lib dirs in configure (#197684)
|
||||||
|
|
||||||
* Thu Aug 3 2006 Radek Vokal <rvokal@redhat.com> 5.3.1.0-2
|
* Thu Aug 3 2006 Radek Vokal <rvokal@redhat.com> 5.3.1.0-2
|
||||||
- better patch for depreciated sysctl call
|
- better patch for depreciated sysctl call
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user