[Lunar-commits] <moonbase> net-snmp: Fixing the BUILD process as noted in the BUILD.
Dennis `stumbles` Veatch
stumbles at lunar-linux.org
Mon Jun 21 15:16:36 CEST 2010
commit cba3f49f6873728010c3619ce861ea90bda9f453
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date: Mon Jun 21 09:16:36 2010 -0400
net-snmp: Fixing the BUILD process as noted in the BUILD.
---
net/net-snmp/BUILD | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/net/net-snmp/BUILD b/net/net-snmp/BUILD
index 488fe4d..fecb37d 100644
--- a/net/net-snmp/BUILD
+++ b/net/net-snmp/BUILD
@@ -4,6 +4,15 @@
PERSISTENT="--with-persistent-directory=/var/state/ucd-snmp"
DEFAULTS="--with-defaults"
+# This takes care of the cannot find libperl.so rebuild that
+# happens on a lunar fix.
+ PERL_MAJ_VER="`lvu version perl |cut -c 1`"
+ PERL_VER="`lvu version perl`"
+ PERL_SO_PATH="/usr/lib/perl$PERL_MAJ_VER/$PERL_VER/`arch`-linux-thread-multi/CORE/"
+
+# So lets put all that together.
+ LDFLAGS="$LDFLAGS -Wl,-rpath,${PERL_SO_PATH}"
+
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
More information about the Lunar-commits
mailing list