]> git.pld-linux.org Git - packages/net-snmp.git/blobdiff - net-snmp.spec
- rel 2; libnetsnmp wasn't properly linked
[packages/net-snmp.git] / net-snmp.spec
index e5519e5b5284727fdd59a9ec0f83721234523935..9dad839ab72f43e2be74658ad29e4009b3e4eda9 100644 (file)
@@ -29,7 +29,7 @@ Summary(ru.UTF-8):    Набор утилит для протокола SNMP от U
 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
@@ -463,7 +463,7 @@ MIBS="$MIBS ucd-snmp/lmsensorsMib"
        --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 \
@@ -495,7 +495,7 @@ cd perl
 %{__perl} Makefile.PL \
        -NET-SNMP-IN-SOURCE=true \
        INSTALLDIRS=vendor \
-       OPTIMIZE="%{rpmcflags}" \
+       OPTIMIZE="%{rpmcflags} %{rpmcppflags}" \
        </dev/null
 
 # avoid rpaths generated by MakeMaker
This page took 0.998462 seconds and 4 git commands to generate.