aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ghc-bootstrap/build-hp2ps-twice.patch
diff options
context:
space:
mode:
authorMitch Tishmack <mitch.tishmack@gmail.com>2017-02-26 07:25:01 -0600
committerTimo Teräs <timo.teras@iki.fi>2017-02-27 06:26:38 +0000
commit0b490772a9df7aced8d30b3d4b8c25cb1a92e919 (patch)
tree569cd0b08474067dda5e0ac85f531506fcf613d5 /testing/ghc-bootstrap/build-hp2ps-twice.patch
parentf9110e603a3ce00536142e4caeae8f3db1fc48a1 (diff)
downloadaports-0b490772a9df7aced8d30b3d4b8c25cb1a92e919.tar.bz2
aports-0b490772a9df7aced8d30b3d4b8c25cb1a92e919.tar.xz
testing/ghc-bootstrap: fix cross-build, remove armhf
Diffstat (limited to 'testing/ghc-bootstrap/build-hp2ps-twice.patch')
-rw-r--r--testing/ghc-bootstrap/build-hp2ps-twice.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/testing/ghc-bootstrap/build-hp2ps-twice.patch b/testing/ghc-bootstrap/build-hp2ps-twice.patch
new file mode 100644
index 0000000000..47e8a8f266
--- /dev/null
+++ b/testing/ghc-bootstrap/build-hp2ps-twice.patch
@@ -0,0 +1,25 @@
+--- a/utils/hp2ps/ghc.mk 2017-02-25 22:37:12.000000000 -0600
++++ b/utils/hp2ps/ghc.mk 2017-02-25 23:21:33.000000000 -0600
+@@ -17,10 +17,21 @@
+ Utilities.c
+ utils/hp2ps_dist_EXTRA_LIBRARIES = m
+ utils/hp2ps_dist_PROGNAME = $(CrossCompilePrefix)hp2ps
+-utils/hp2ps_dist_INSTALL = YES
++utils/hp2ps_dist_INSTALL = NO
+ utils/hp2ps_dist_INSTALL_INPLACE = YES
+
+ utils/hp2ps_CC_OPTS += $(addprefix -I,$(GHC_INCLUDE_DIRS))
+
+ $(eval $(call build-prog,utils/hp2ps,dist,0))
+
++utils/hp2ps_dist-install_C_SRCS = AreaBelow.c Curves.c Error.c Main.c \
++ Reorder.c TopTwenty.c AuxFile.c Deviation.c \
++ HpFile.c Marks.c Scale.c TraceElement.c \
++ Axes.c Dimensions.c Key.c PsFile.c Shade.c \
++ Utilities.c
++utils/hp2ps_dist-install_PROGNAME = hp2ps
++utils/hp2ps_dist-install_TOPDIR = YES
++utils/hp2ps_dist-install_INSTALL = YES
++utils/hp2ps_dist-install_INSTALL_INPLACE = NO
++
++$(eval $(call build-prog,utils/hp2ps,dist-install,1))