From f218da561b858988871b89018c4e067f085e4a0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Radek=20Vok=C3=A1l?= Date: Thu, 10 Aug 2006 14:14:03 +0000 Subject: [PATCH] - fix libdir in configure --- net-snmp.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/net-snmp.spec b/net-snmp.spec index bab2b8c..8f33f56 100644 --- a/net-snmp.spec +++ b/net-snmp.spec @@ -7,7 +7,7 @@ Summary: A collection of SNMP protocol tools and libraries. Name: net-snmp Version: %{major_ver}.0 -Release: 2 +Release: 3 License: BSDish Group: System Environment/Daemons @@ -38,6 +38,7 @@ Patch24: net-snmp-5.3-size_t.patch Patch26: net-snmp-5.3_vendorperl.patch Patch27: net-snmp-5.3.1-multilib.patch Patch28: net-snmp-5.3.1-retrans_time.patch +Patch29: net-snmp-5.3.1-config_libdir.patch Prereq: /sbin/chkconfig Obsoletes: ucd-snmp @@ -142,6 +143,7 @@ and applications. %patch24 -p1 -b .size_t %patch27 -p1 -b .multilib %patch28 -p0 -b .retrans_ms +%patch29 -p1 -b .libdir # Do this patch with a perl hack... 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 export LDFLAGS="-L%{_libdir}" %endif +export LIBDIR="%{_libdir}" %configure \ --enable-static --enable-shared \ --with-cflags="$RPM_OPT_FLAGS -lcrypto" \ @@ -343,6 +346,9 @@ rm -rf ${RPM_BUILD_ROOT} %{_libdir}/*.a %changelog +* Thu Aug 10 2006 Radek Vokal 5.3.1.0-3 +- fix lib dirs in configure (#197684) + * Thu Aug 3 2006 Radek Vokal 5.3.1.0-2 - better patch for depreciated sysctl call