devel/ocaml ocaml-rpath.patch,NONE,1.1 ocaml.spec,1.7,1.8
Gérard Milmeister (gemi)
fedora-extras-commits at redhat.com
Sat Feb 12 11:02:06 UTC 2005
Author: gemi
Update of /cvs/extras/devel/ocaml
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15576
Modified Files:
ocaml.spec
Added Files:
ocaml-rpath.patch
Log Message:
Added patch for removing rpath from shared libs
ocaml-rpath.patch:
--- NEW FILE ocaml-rpath.patch ---
--- ocaml-3.08.2/tools/Makefile.rpath 2005-02-12 11:38:17.000000000 +0100
+++ ocaml-3.08.2/tools/Makefile 2005-02-12 11:38:41.000000000 +0100
@@ -101,9 +101,6 @@
sed -e "s|%%BINDIR%%|$(BINDIR)|" \
-e "s|%%SUPPORTS_SHARED_LIBRARIES%%|$(SUPPORTS_SHARED_LIBRARIES)|" \
-e "s|%%MKSHAREDLIB%%|$(MKSHAREDLIB)|" \
- -e "s|%%BYTECCRPATH%%|$(BYTECCRPATH)|" \
- -e "s|%%NATIVECCRPATH%%|$(NATIVECCRPATH)|" \
- -e "s|%%MKSHAREDLIBRPATH%%|$(MKSHAREDLIBRPATH)|" \
-e "s|%%RANLIB%%|$(RANLIB)|" \
ocamlmklib.mlp >> ocamlmklib.ml
--- ocaml-3.08.2/tools/ocamlmklib.mlp.rpath 2005-02-12 11:46:55.646162346 +0100
+++ ocaml-3.08.2/tools/ocamlmklib.mlp 2005-02-12 11:49:11.411467461 +0100
@@ -17,9 +17,9 @@
let bindir = "%%BINDIR%%"
and supports_shared_libraries = %%SUPPORTS_SHARED_LIBRARIES%%
and mksharedlib = "%%MKSHAREDLIB%%"
-and bytecc_rpath = "%%BYTECCRPATH%%"
-and nativecc_rpath = "%%NATIVECCRPATH%%"
-and mksharedlib_rpath = "%%MKSHAREDLIBRPATH%%"
+and bytecc_rpath = ""
+and nativecc_rpath = ""
+and mksharedlib_rpath = ""
and ranlib = "%%RANLIB%%"
let bytecode_objs = ref [] (* .cmo,.cma,.ml,.mli files to pass to ocamlc *)
Index: ocaml.spec
===================================================================
RCS file: /cvs/extras/devel/ocaml/ocaml.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- ocaml.spec 11 Feb 2005 23:54:15 -0000 1.7
+++ ocaml.spec 12 Feb 2005 11:02:04 -0000 1.8
@@ -1,6 +1,6 @@
Name: ocaml
Version: 3.08.2
-Release: 1
+Release: 2
Epoch: 0
Summary: The Objective Caml compiler and programming environment
@@ -11,9 +11,10 @@
Source1: http://caml.inria.fr/distrib/ocaml-3.08/ocaml-3.08-refman.html.tar.gz
Source2: http://caml.inria.fr/distrib/ocaml-3.08/ocaml-3.08-refman.ps.gz
Source3: http://caml.inria.fr/distrib/ocaml-3.08/ocaml-3.08-refman.info.tar.gz
+Patch: ocaml-rpath.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: ncurses-devel, gdbm-devel, XFree86-devel
-BuildRequires: /usr/include/tcl.h, /usr/include/tk.h
+BuildRequires: ncurses-devel, gdbm-devel, xorg-x11-devel
+BuildRequires: tcl-devel, tk-devel
BuildRequires: emacs, perl
Requires(post,preun): /sbin/install-info
@@ -73,6 +74,7 @@
%setup -q -T -b 0
%setup -q -T -D -a 1
%setup -q -T -D -a 3
+%patch -p1
cp %{SOURCE2} refman.ps.gz
%build
@@ -174,11 +176,14 @@
%doc emacs/README
%changelog
+* Sat Feb 12 2005 Gerard Milmeister <gemi at bluewin.ch> - 0:3.08.2-2
+- Added patch for removing rpath from shared libs
+
* Sat Feb 12 2005 Gerard Milmeister <gemi at bluewin.ch> - 0:3.08.2-1
- New Version 3.08.2
* Thu Dec 30 2004 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 0:3.07-6
-- add -x11lib %%_prefix/X11R6/%%_lib to configure; fixes labltk build
+- add -x11lib {_prefix}/X11R6/{libdir} to configure; fixes labltk build
on x86_64
* Tue Dec 2 2003 Gerard Milmeister <gemi at bluewin.ch> - 0:3.07-0.fdr.5
More information about the fedora-extras-commits
mailing list