Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 96783 Details for
Bug 145960
net-analyzer/net-snmp-5.2.2-r3 doesn't build with --as-needed
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
modified, a lot less changes
net-snmp-5.2.2-asneeded.patch (text/plain), 3.58 KB, created by
Rafał Mużyło
on 2006-09-12 04:48:15 UTC
(
hide
)
Description:
modified, a lot less changes
Filename:
MIME Type:
Creator:
Rafał Mużyło
Created:
2006-09-12 04:48:15 UTC
Size:
3.58 KB
patch
obsolete
>Index: net-snmp-5.2.2/snmplib/Makefile.in >=================================================================== >--- net-snmp-5.2.2.orig/snmplib/Makefile.in >+++ net-snmp-5.2.2/snmplib/Makefile.in >@@ -185,11 +185,11 @@ all: standardall > > # how to build the libraries. > libnetsnmp.$(LIB_EXTENSION)$(LIB_VERSION): ${TOBJS} >- $(LIB_LD_CMD) libnetsnmp.$(LIB_EXTENSION)$(LIB_VERSION) ${TOBJS} >+ $(LIB_LD_CMD) libnetsnmp.$(LIB_EXTENSION)$(LIB_VERSION) ${TOBJS} @LIBCRYPTO@ > $(RANLIB) libnetsnmp.$(LIB_EXTENSION)$(LIB_VERSION) > > libsnmp.$(LIB_EXTENSION)$(LIB_VERSION): ${TOBJS} >- $(LIB_LD_CMD) libsnmp.$(LIB_EXTENSION)$(LIB_VERSION) ${TOBJS} >+ $(LIB_LD_CMD) libsnmp.$(LIB_EXTENSION)$(LIB_VERSION) ${TOBJS} @LIBCRYPTO@ > $(RANLIB) libsnmp.$(LIB_EXTENSION)$(LIB_VERSION) > > # >Index: net-snmp-5.2.2/configure.in >=================================================================== >--- net-snmp-5.2.2.orig/configure.in >+++ net-snmp-5.2.2/configure.in >@@ -2362,11 +2362,12 @@ if test $? -eq 0 ; then > *) > AC_CHECK_HEADER(sensors/sensors.h,, > [AC_MSG_ERROR([asked to use lm_sensors but I couldn't find sensors/sensors.h])]) >- AC_CHECK_LIB(sensors, sensors_get_detected_chips, LIBS="${LIBS} -lsensors", >+ AC_CHECK_LIB(sensors, sensors_get_detected_chips, SENSORLIBS="-lsensors", > [AC_MSG_ERROR([asked to use lm_sensors but I couldn't find -lsensors])]) > ;; > esac > fi >+AC_SUBST(SENSORLIBS) > > # > # Install the various perl modules >@@ -2409,18 +2409,18 @@ > AC_MSG_RESULT($perlcflags) > CPPFLAGS="$CPPFLAGS $perlcflags" > >- AC_MSG_CHECKING([for perl LDFLAGS]) >+ AC_MSG_CHECKING([for perl LIBS]) > perlldopts=`$myperl -MExtUtils::Embed -e ldopts` > AC_MSG_RESULT($perlldopts) > PERLLDOPTS="$perlldopts" > >- OLDLDFLAGS="$LDFLAGS" >- LDFLAGS="$LDFLAGS $PERLLDOPTS" >+ OLDLDFLAGS="$LIBS" >+ LIBS="$LIBS $PERLLDOPTS" > > # newer perl vs older perl call functions > AC_CHECK_FUNCS(Perl_eval_pv eval_pv perl_eval_pv) > >- LDFLAGS="$OLDLDFLAGS" >+ LIBS="$OLDLDFLAGS" > > AC_DEFINE(NETSNMP_EMBEDDED_PERL) > OTHERAGENTLIBOBJS="snmp_perl.o" >@@ -2691,6 +2692,7 @@ if test "x$useopenssl" != "xno" ; then > encrmodes="[disabled]" > fi > AC_DEFINE(USE_OPENSSL) >+ LIBCRYPTO="-lcrypto" > AC_MSG_RESULT(OpenSSL Support) > elif test "x$usepkcs" != "xno" ; then > authmodes="MD5 SHA1" >@@ -2710,6 +2712,7 @@ fi > if test "x$enable_md5" = "xno"; then > authmodes=`echo $authmodes | sed 's/MD5 *//;'` > fi >+AC_SUBST(LIBCRYPTO) > > AC_MSG_CACHE_ADD(Authentication support: $authmodes) > AC_MSG_CACHE_ADD(Encryption support: $encrmodes) >Index: net-snmp-5.2.2/agent/Makefile.in >=================================================================== >--- net-snmp-5.2.2.orig/agent/Makefile.in >+++ net-snmp-5.2.2/agent/Makefile.in >@@ -130,11 +130,11 @@ snmpd$(EXEEXT): ${LAGENTOBJS} $(USELIBS) > > > libnetsnmpagent.$(LIB_EXTENSION)$(LIB_VERSION): ${LLIBAGENTOBJS} libnetsnmpmibs.$(LIB_EXTENSION)$(LIB_VERSION) >- $(LIB_LD_CMD) libnetsnmpagent.$(LIB_EXTENSION)$(LIB_VERSION) ${LLIBAGENTOBJS} $(LIB_LD_LIBS) >+ $(LIB_LD_CMD) libnetsnmpagent.$(LIB_EXTENSION)$(LIB_VERSION) ${LLIBAGENTOBJS} $(LIB_LD_LIBS) helpers/libnetsnmphelpers.la @WRAPLIBS@ > $(RANLIB) libnetsnmpagent.$(LIB_EXTENSION)$(LIB_VERSION) > > libnetsnmpmibs.$(LIB_EXTENSION)$(LIB_VERSION): ${LMIBOBJS} >- $(LIB_LD_CMD) libnetsnmpmibs.$(LIB_EXTENSION)$(LIB_VERSION) ${LMIBOBJS} $(LIB_LD_LIBS) >+ $(LIB_LD_CMD) libnetsnmpmibs.$(LIB_EXTENSION)$(LIB_VERSION) ${LMIBOBJS} $(LIB_LD_LIBS) @SENSORLIBS@ > $(RANLIB) libnetsnmpmibs.$(LIB_EXTENSION)$(LIB_VERSION) > > embedperlinstall:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 145960
:
95718
|
95719
|
95720
|
95721
| 96783