[Pkg-haskell-commits] darcs: ghc: Install hpc with a wrapper

mail at joachim-breitner.de mail at joachim-breitner.de
Wed Feb 5 10:49:40 UTC 2014


Tue Feb  4 23:26:32 UTC 2014  mail at joachim-breitner.de
  * Install hpc with a wrapper

    A ./patches/hpc-wrapper
    M ./patches/series +1

Tue Feb  4 23:26:32 UTC 2014  mail at joachim-breitner.de
  * Install hpc with a wrapper
diff -rN -u old-ghc/patches/hpc-wrapper new-ghc/patches/hpc-wrapper
--- old-ghc/patches/hpc-wrapper	1970-01-01 00:00:00.000000000 +0000
+++ new-ghc/patches/hpc-wrapper	2014-02-05 10:49:40.601531224 +0000
@@ -0,0 +1,19 @@
+Index: ghc-7.9.20140130/utils/hpc/ghc.mk
+===================================================================
+--- ghc-7.9.20140130.orig/utils/hpc/ghc.mk	2014-01-31 17:28:32.000000000 +0000
++++ ghc-7.9.20140130/utils/hpc/ghc.mk	2014-02-04 23:15:53.000000000 +0000
+@@ -15,4 +15,7 @@
+ utils/hpc_dist-install_INSTALL         = YES
+ utils/hpc_dist-install_INSTALL_INPLACE = YES
+ utils/hpc_dist-install_PROGNAME        = hpc
++utils/hpc_dist-install_SHELL_WRAPPER   = YES
++utils/hpc_dist-install_INSTALL_SHELL_WRAPPER_NAME = hpc
++
+ $(eval $(call build-prog,utils/hpc,dist-install,1))
+Index: ghc-7.9.20140130/utils/hpc/hpc.wrapper
+===================================================================
+--- /dev/null	1970-01-01 00:00:00.000000000 +0000
++++ ghc-7.9.20140130/utils/hpc/hpc.wrapper	2014-02-04 23:17:49.000000000 +0000
+@@ -0,0 +1,2 @@
++#!/bin/sh
++exec "$executablename" ${1+"$@"}
diff -rN -u old-ghc/patches/series new-ghc/patches/series
--- old-ghc/patches/series	2014-02-05 10:49:40.589531224 +0000
+++ new-ghc/patches/series	2014-02-05 10:49:40.601531224 +0000
@@ -2,3 +2,4 @@
 ARM-VFPv3D16
 no-missing-haddock-file-warning
 haddock-hardcode-ghc-paths
+hpc-wrapper




More information about the Pkg-haskell-commits mailing list