SPECS: net-snmp.spec - updated perl magick to link against new lib...

qboosh qboosh at pld-linux.org
Tue Nov 8 16:12:49 CET 2005


Author: qboosh                       Date: Tue Nov  8 15:12:49 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated perl magick to link against new libnetsnmp

---- Files affected:
SPECS:
   net-snmp.spec (1.63 -> 1.64) 

---- Diffs:

================================================================
Index: SPECS/net-snmp.spec
diff -u SPECS/net-snmp.spec:1.63 SPECS/net-snmp.spec:1.64
--- SPECS/net-snmp.spec:1.63	Sun Oct 30 15:32:25 2005
+++ SPECS/net-snmp.spec	Tue Nov  8 16:12:42 2005
@@ -428,17 +428,14 @@
 %{__make} -C agent/mibgroup
 %{__make}
 
-TDIR="`pwd`"
 cd perl
-sed -e "s at -L/usr/lib at -L${TDIR}/snmplib/.libs -L${TDIR}/agent/.libs -L${TDIR}/agent/helpers/.libs@" \
-	../net-snmp-config > net-snmp-config
-chmod +x net-snmp-config
 
-PATH=`pwd`:$PATH \
 %{__perl} Makefile.PL \
+	-NET-SNMP-IN-SOURCE=true \
 	INSTALLDIRS=vendor \
-	OPTIMIZE="%{rpmcflags} -I`pwd`/../include" \
+	OPTIMIZE="%{rpmcflags}" \
 	</dev/null
+
 # avoid rpaths generated by MakeMaker
 perl -pi -e 's at LD_RUN_PATH="\$\(LD_RUN_PATH\)" @@' */Makefile */*/Makefile
 
@@ -682,6 +679,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.64  2005/11/08 15:12:42  qboosh
+- updated perl magick to link against new libnetsnmp
+
 Revision 1.63  2005/10/30 14:32:25  glen
 - R: rpm-devel to -devel because net-snmp-config --libs has -lrpm
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/net-snmp.spec?r1=1.63&r2=1.64&f=u




More information about the pld-cvs-commit mailing list