OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Steffen Weinreich
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 21-Mar-2006 10:40:46
Branch: HEAD Handle: 2006032109404500
Modified files:
openpkg-src/snmp snmp.spec
Log:
Added option for a build with shared libs
Summary:
Revision Changes Path
1.82 +4 -1 openpkg-src/snmp/snmp.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/snmp/snmp.spec
============================================================================
$ cvs diff -u -r1.81 -r1.82 snmp.spec
--- openpkg-src/snmp/snmp.spec 1 Jan 2006 13:22:22 -0000 1.81
+++ openpkg-src/snmp/snmp.spec 21 Mar 2006 09:40:45 -0000 1.82
@@ -36,11 +36,12 @@
Group: Network
License: BSD
Version: 5.2.2
-Release: 20051206
+Release: 20060321
# package options
%option with_fsl yes
%option with_perl no
+%option with_shared no
%option with_mib_host no
%option with_mib_smux no
%option with_mib_tables no
@@ -160,7 +161,9 @@
--with-persistent-directory=%{l_prefix}/var/snmp \
--with-openssl=%{l_prefix} \
--enable-silent-libtool \
+%if "%{with_shared}" == "no"
--disable-shared \
+%endif
%if "%{with_mib_host}" == "yes" || "%{with_mib_smux}" == "yes" ||
"%{with_mib_sendmail}" == "yes"
--with-mib-modules="$mibs" \
%endif
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]