Build-Depend on chrpath and delete rpath from DLLs.
authorJulien Cristau <julien.cristau@ens-lyon.org>
Mon, 31 Oct 2005 16:22:56 +0000 (16:22 +0000)
committerJulien Cristau <julien.cristau@ens-lyon.org>
Mon, 31 Oct 2005 16:22:56 +0000 (16:22 +0000)
debian/changelog
debian/control
debian/rules

index 0470d8e197abc2cf89315e8206feb9fb29474274..01297a43b520e861e9f2b53b4949e4ef5c1e2427 100644 (file)
@@ -2,8 +2,9 @@ ocaml (3.09.0-0.experimental.2) experimental; urgency=low
 
   * Cleanup debian/control: remove redundant Depends.
   * Update location of ocaml-md5sums stuff.
+  * Build-Depend on chrpath and delete rpath from DLLs.
 
- -- Julien Cristau <julien.cristau@ens-lyon.org>  Mon, 31 Oct 2005 15:02:57 +0100
+ -- Julien Cristau <julien.cristau@ens-lyon.org>  Mon, 31 Oct 2005 17:22:03 +0100
 
 ocaml (3.09.0-0.experimental.1) experimental; urgency=low
 
index 0fc9ca9f553ed937a627e4612160e29e82f920af..a5e86510f5bcc1e59d3dcfbec46043e49872925e 100644 (file)
@@ -3,7 +3,7 @@ Section: devel
 Priority: optional
 Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>
 Uploaders: Sven Luther <luther@debian.org>, Stefano Zacchiroli <zack@debian.org>
-Build-Depends: debhelper (>> 4.0.2), tcl8.4-dev, tk8.4-dev, libncurses5-dev, libgdbm-dev, dpatch, bzip2
+Build-Depends: debhelper (>> 4.0.2), tcl8.4-dev, tk8.4-dev, libncurses5-dev, libgdbm-dev, dpatch, bzip2, chrpath
 Standards-Version: 3.6.2
 
 Package: ocaml-nox
index 99f81ae91f0e785f4f933e77ddede399e0d8576a..96875b29739bd3a8a7907019d89d5e77f1f540a6 100755 (executable)
@@ -195,6 +195,9 @@ install-arch:
                        $(CURDIR)/debian/ocaml-compiler-libs/usr/lib/ocaml/$(VERSION)/compiler-libs; \
        fi
 
+       # Delete rpath in DLLs
+       chrpath -d $(CURDIR)/debian/ocaml-base/usr/lib/ocaml/3.09.0/stublibs/dllgraphics.so $(CURDIR)/debian/ocaml-base/usr/lib/ocaml/3.09.0/stublibs/dlllabltk.so $(CURDIR)/debian/ocaml-base/usr/lib/ocaml/3.09.0/stublibs/dlltkanim.so
+
        # install ocaml-md5sums
        $(MAKE) -C debian/ocaml-md5sums install DESTDIR=$(CURDIR)/debian/ocaml-base-nox/usr/bin