ocaml-javalib, ocaml-sawja: uses patchShebangs rather than ad-hoc patches

+4 -12
-6
pkgs/development/ocaml-modules/javalib/configure.sh.patch
··· 1 1 --- javalib-2.3-orig/configure.sh 2013-10-30 08:35:30.000000000 +0100 2 2 +++ javalib-2.3/configure.sh 2014-07-06 17:28:39.025066199 +0200 3 - @@ -1,4 +1,4 @@ 4 - -#!/bin/bash 5 - +#!/bin/sh 6 - 7 - ### 8 - ### A configuration script for Javalib 9 3 @@ -44,7 +44,7 @@ 10 4 DESTDIR= 11 5 # The ocamlpath variable for the compiler to locate the locally-installed
+2
pkgs/development/ocaml-modules/javalib/default.nix
··· 20 20 21 21 createFindlibDestdir = true; 22 22 23 + preConfigure = "patchShebangs ./configure.sh"; 24 + 23 25 configureScript = "./configure.sh"; 24 26 dontAddPrefix = "true"; 25 27
-6
pkgs/development/ocaml-modules/sawja/configure.sh.patch
··· 1 1 --- sawja-1.5-orig/configure.sh 2013-10-30 08:35:29.000000000 +0100 2 2 +++ sawja-1.5/configure.sh 2014-07-05 18:50:26.833798254 +0200 3 - @@ -1,4 +1,4 @@ 4 - -#!/bin/bash 5 - +#!/bin/sh 6 - 7 - ### 8 - ### A configuration script for Sawja 9 3 @@ -39,7 +39,7 @@ 10 4 DESTDIR= 11 5 # The ocamlpath variable for the compiler to locate the locally-installed
+2
pkgs/development/ocaml-modules/sawja/default.nix
··· 19 19 20 20 createFindlibDestdir = true; 21 21 22 + preConfigure = "patchShebangs ./configure.sh"; 23 + 22 24 configureScript = "./configure.sh"; 23 25 dontAddPrefix = "true"; 24 26