packages: net-snmp/net-snmp.spec - link perl module with freshly built libs...

arekm arekm at pld-linux.org
Mon Aug 1 19:22:34 CEST 2011


Author: arekm                        Date: Mon Aug  1 17:22:34 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- link perl module with freshly built libs instead of using system libs

---- Files affected:
packages/net-snmp:
   net-snmp.spec (1.182 -> 1.183) 

---- Diffs:

================================================================
Index: packages/net-snmp/net-snmp.spec
diff -u packages/net-snmp/net-snmp.spec:1.182 packages/net-snmp/net-snmp.spec:1.183
--- packages/net-snmp/net-snmp.spec:1.182	Mon Aug  1 08:31:13 2011
+++ packages/net-snmp/net-snmp.spec	Mon Aug  1 19:22:29 2011
@@ -498,8 +498,9 @@
 # avoid rpaths generated by MakeMaker
 perl -pi -e 's at LD_RUN_PATH="\$\(LD_RUN_PATH\)" @@' */Makefile */*/Makefile
 
+bd=$(cd ..; pwd)
 %{__make} \
-	LDFLAGS="%{rpmldflags}"
+	LDFLAGS="%{rpmldflags} -L$bd/snmplib/.libs/ -L$bd/agent/.libs/"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -813,6 +814,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.183  2011/08/01 17:22:29  arekm
+- link perl module with freshly built libs instead of using system libs
+
 Revision 1.182  2011/08/01 06:31:13  arekm
 - release 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/net-snmp/net-snmp.spec?r1=1.182&r2=1.183&f=u



More information about the pld-cvs-commit mailing list