#
# internal test objects
#
+--- net-snmp-5.5/snmplib/Makefile.in~ 2010-06-05 20:17:39.941541617 +0200
++++ net-snmp-5.5/snmplib/Makefile.in 2010-06-06 09:25:54.332457357 +0200
+@@ -194,7 +194,7 @@
+
+ # how to build the libraries.
+ libnetsnmp.$(LIB_EXTENSION)$(LIB_VERSION): $(TOBJS)
+- $(LIB_LD_CMD) $@ $(TOBJS) $(LDFLAGS) @LNETSNMPLIBS@
++ $(LIB_LD_CMD) $@ $(TOBJS) $(LDFLAGS) @LNETSNMPLIBS@ @LIBS@
+ $(RANLIB) $@
+
+ #
Summary(uk.UTF-8): Набір утиліт для протоколу SNMP від UC-Davis
Name: net-snmp
Version: 5.5
-Release: 1
+Release: 2
License: BSD-like
Group: Networking/Daemons
Source0: http://dl.sourceforge.net/net-snmp/%{name}-%{version}.tar.gz
--disable-debugging \
--enable-as-needed \
%{!?with_static_libs:--disable-static} \
- --with-cflags="%{rpmcflags} -I/usr/include/et" \
+ --with-cflags="%{rpmcflags} %{rpmcppflags} -I/usr/include/et" \
--with-ldflags="%{rpmldflags}" \
--with-defaults \
--with-default-snmp-version=3 \
%{__perl} Makefile.PL \
-NET-SNMP-IN-SOURCE=true \
INSTALLDIRS=vendor \
- OPTIMIZE="%{rpmcflags}" \
+ OPTIMIZE="%{rpmcflags} %{rpmcppflags}" \
</dev/null
# avoid rpaths generated by MakeMaker