Bläddra i källkod

requires snmp under build-time because wants to run net-snmp-config program

Ralf S. Engelschall 22 år sedan
förälder
incheckning
67372a8aa0
1 ändrade filer med 3 tillägg och 2 borttagningar
  1. 3 2
      snmpdx/snmpdx.spec

+ 3 - 2
snmpdx/snmpdx.spec

@@ -33,7 +33,7 @@ Distribution: OpenPKG [EVAL]
 Group:        Network
 License:      GPL
 Version:      0.2.8
-Release:      20031021
+Release:      20031217
 
 #   list of sources
 Source0:      ftp://ftp.ossp.org/pkg/tool/snmpdx/snmpdx-%{version}.tar.gz
@@ -41,7 +41,7 @@ Source0:      ftp://ftp.ossp.org/pkg/tool/snmpdx/snmpdx-%{version}.tar.gz
 #   build information
 Prefix:       %{l_prefix}
 BuildRoot:    %{l_buildroot}
-BuildPreReq:  OpenPKG, openpkg >= 20020206, perl
+BuildPreReq:  OpenPKG, openpkg >= 20020206, perl, snmp
 PreReq:       OpenPKG, openpkg >= 20020206, perl, snmp
 AutoReq:      no
 AutoReqProv:  no
@@ -59,6 +59,7 @@ AutoReqProv:  no
 %build
     ./configure \
         --prefix=%{l_prefix} \
+        --with-snmp=%{l_prefix} \
         --with-perl=%{l_prefix}/bin/perl
     %{l_make} %{l_mflags -O}