packages: opensm/opensm.spec, opensm/opensm-link.patch (NEW) - added link p...
qboosh
qboosh at pld-linux.org
Mon Sep 13 20:34:39 CEST 2010
Author: qboosh Date: Mon Sep 13 18:34:39 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- added link patch to avoid builddir rpath
---- Files affected:
packages/opensm:
opensm.spec (1.1 -> 1.2) , opensm-link.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/opensm/opensm.spec
diff -u packages/opensm/opensm.spec:1.1 packages/opensm/opensm.spec:1.2
--- packages/opensm/opensm.spec:1.1 Sun Sep 12 10:23:22 2010
+++ packages/opensm/opensm.spec Mon Sep 13 20:34:33 2010
@@ -8,10 +8,14 @@
Group: Daemons
Source0: http://www.openfabrics.org/downloads/management/%{name}-%{version}.tar.gz
# Source0-md5: 3880d2f467b6f2d5fada941c7f8baeb7
+Patch0: %{name}-link.patch
URL: http://www.openfabrics.org/
+BuildRequires: autoconf >= 2.57
+BuildRequires: automake
BuildRequires: bison
BuildRequires: flex
BuildRequires: libibumad-devel
+BuildRequires: libtool
Requires: %{name}-libs = %{version}-%{release}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -63,8 +67,14 @@
%prep
%setup -q
+%patch0 -p1
%build
+%{__libtoolize}
+%{__aclocal} -I config
+%{__autoconf}
+%{__autoheader}
+%{__automake}
%configure
%{__make}
@@ -127,5 +137,8 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2010/09/13 18:34:33 qboosh
+- added link patch to avoid builddir rpath
+
Revision 1.1 2010/09/12 08:23:22 qboosh
- new
================================================================
Index: packages/opensm/opensm-link.patch
diff -u /dev/null packages/opensm/opensm-link.patch:1.1
--- /dev/null Mon Sep 13 20:34:39 2010
+++ packages/opensm/opensm-link.patch Mon Sep 13 20:34:33 2010
@@ -0,0 +1,11 @@
+--- opensm-3.3.7/libvendor/Makefile.am.orig 2009-05-11 11:11:31.000000000 +0200
++++ opensm-3.3.7/libvendor/Makefile.am 2010-09-13 08:37:48.732562329 +0200
+@@ -73,7 +73,7 @@
+ $(srcdir)/../include/vendor/osm_pkt_randomizer.h
+ endif
+
+-libosmvendor_la_LIBADD = -L../complib -losmcomp
++libosmvendor_la_LIBADD = $(top_builddir)/complib/libosmcomp.la
+ libosmvendor_la_LDFLAGS = -version-info $(osmvendor_api_version) \
+ -export-dynamic $(libosmvendor_version_script)
+ libosmvendor_la_DEPENDENCIES = $(srcdir)/libosmvendor.map
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/opensm/opensm.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list