diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2015-09-01 06:43:37 +0200 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2015-09-01 06:43:37 +0200 |
commit | e94ddc290dba99499a36eb7e9314e2eb292cdef5 (patch) | |
tree | 0a4e33a6a274188c35b59cc291cd4063b159db56 /pkgs/development/ocaml-modules/bitstring | |
parent | cfe12c7edded9a2b7ac5565469291512aeb19e65 (diff) | |
download | nixlib-e94ddc290dba99499a36eb7e9314e2eb292cdef5.tar nixlib-e94ddc290dba99499a36eb7e9314e2eb292cdef5.tar.gz nixlib-e94ddc290dba99499a36eb7e9314e2eb292cdef5.tar.bz2 nixlib-e94ddc290dba99499a36eb7e9314e2eb292cdef5.tar.lz nixlib-e94ddc290dba99499a36eb7e9314e2eb292cdef5.tar.xz nixlib-e94ddc290dba99499a36eb7e9314e2eb292cdef5.tar.zst nixlib-e94ddc290dba99499a36eb7e9314e2eb292cdef5.zip |
ocaml-bitstring: fix typo in Makefile
Diffstat (limited to 'pkgs/development/ocaml-modules/bitstring')
-rw-r--r-- | pkgs/development/ocaml-modules/bitstring/2.0.4.nix | 2 | ||||
-rw-r--r-- | pkgs/development/ocaml-modules/bitstring/default.nix | 2 | ||||
-rw-r--r-- | pkgs/development/ocaml-modules/bitstring/srcdir.patch | 11 |
3 files changed, 13 insertions, 2 deletions
diff --git a/pkgs/development/ocaml-modules/bitstring/2.0.4.nix b/pkgs/development/ocaml-modules/bitstring/2.0.4.nix index da4bcdcb527a..beaf2fc7fd18 100644 --- a/pkgs/development/ocaml-modules/bitstring/2.0.4.nix +++ b/pkgs/development/ocaml-modules/bitstring/2.0.4.nix @@ -8,7 +8,7 @@ buildOcaml rec { sha256 = "0mapzn2ls5qcrzjm1az50lqjj76ldkmz4fbv2phc9w6smab50qy5"; }; - patches = [ ./camlp4.patch ./meta.patch ]; + patches = [ ./camlp4.patch ./meta.patch ./srcdir.patch ]; buildInputs = [time]; doCheck = true; diff --git a/pkgs/development/ocaml-modules/bitstring/default.nix b/pkgs/development/ocaml-modules/bitstring/default.nix index ae01cf9d7b5e..2dc1b515c033 100644 --- a/pkgs/development/ocaml-modules/bitstring/default.nix +++ b/pkgs/development/ocaml-modules/bitstring/default.nix @@ -9,7 +9,7 @@ buildOcaml rec { sha256 = "1lh97qf1b7mq64pxkphr2w91ri5hfwg58cpjb2xd8a453c9jylw4"; }; - patches = [ ./camlp4-git.patch ./meta.patch ]; + patches = [ ./camlp4-git.patch ./meta.patch ./srcdir.patch ]; buildInputs = [time autoconf automake]; doCheck = true; diff --git a/pkgs/development/ocaml-modules/bitstring/srcdir.patch b/pkgs/development/ocaml-modules/bitstring/srcdir.patch new file mode 100644 index 000000000000..d53760f1d6f6 --- /dev/null +++ b/pkgs/development/ocaml-modules/bitstring/srcdir.patch @@ -0,0 +1,11 @@ +--- a/Makefile.in 2015-09-01 06:32:15.111441188 +0200 ++++ b/Makefile.in 2015-09-01 06:32:56.001084480 +0200 +@@ -125,7 +125,7 @@ + + byteswap.h: byteswap.in.h + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ +- cat $(srcdir)/byteswap.in.h; \ ++ cat $(top_srcdir)/byteswap.in.h; \ + } > $@-t + mv -f $@-t $@ + |