[arch-commits] Commit in ocaml-findlib/trunk (PKGBUILD externalmeta6.patch)

Jürgen Hötzel juergen at archlinux.org
Mon Jan 22 17:10:50 UTC 2018


    Date: Monday, January 22, 2018 @ 17:10:49
  Author: juergen
Revision: 285006

Avoid installing META files camlp4

Added:
  ocaml-findlib/trunk/externalmeta6.patch
Modified:
  ocaml-findlib/trunk/PKGBUILD

---------------------+
 PKGBUILD            |   12 +++++++++---
 externalmeta6.patch |   13 +++++++++++++
 2 files changed, 22 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-01-22 16:31:28 UTC (rev 285005)
+++ PKGBUILD	2018-01-22 17:10:49 UTC (rev 285006)
@@ -9,7 +9,7 @@
 
 pkgname=ocaml-findlib
 pkgver=1.7.3
-pkgrel=1
+pkgrel=2
 pkgdesc='OCaml package manager'
 arch=('x86_64')
 url='http://projects.camlcity.org/projects/findlib.html'
@@ -16,10 +16,16 @@
 license=('MIT')
 depends=('ocaml')
 makedepends=('setconf')
-source=("http://download.camlcity.org/download/findlib-$pkgver.tar.gz")
-sha256sums=('d196608fa23c36c2aace27d5ef124a815132a5fcea668d41fa7d6c1ca246bd8b')
+source=("http://download.camlcity.org/download/findlib-$pkgver.tar.gz" "externalmeta6.patch")
+sha256sums=('d196608fa23c36c2aace27d5ef124a815132a5fcea668d41fa7d6c1ca246bd8b'
+            '6530279c403098b68d1b070c922590a2da63eb19bd9258203ccf98b0f3f6a09c')
 options=('staticlibs' '!strip' 'zipman' '!makeflags')
 
+prepare() {
+  cd "findlib-$pkgver"
+  patch -i "${srcdir}/externalmeta6.patch"
+}
+
 build() {
   cd "findlib-$pkgver"
 

Added: externalmeta6.patch
===================================================================
--- externalmeta6.patch	                        (rev 0)
+++ externalmeta6.patch	2018-01-22 17:10:49 UTC (rev 285006)
@@ -0,0 +1,13 @@
+Index: findlib-1.7.2/configure
+===================================================================
+--- findlib-1.7.2.orig/configure
++++ findlib-1.7.2/configure
+@@ -557,7 +557,7 @@ fi
+ 
+ # Generate the META files now.
+ 
+-l="$ldbm dynlink graphics $lnum str threads unix stdlib bigarray ocamldoc $llabltk $lcamlp4 $lobuild $lcomplibs $lbytes $lspacetime"
++l="$ldbm dynlink graphics $lnum str threads unix stdlib bigarray ocamldoc $lcomplibs $lbytes $lspacetime"
+ 
+ for dir in site-lib-src/*; do
+     # We do not really know if $dir is a directory.



More information about the arch-commits mailing list