openbsd-ports/lang/nhc98/patches/patch-script_hsc2hs_inst
kili d42b1d5748 Update to 1.22, fixes the build on i386.
Problem noticed by naddy@, who also ran regression tests on i386.
2010-07-27 18:16:18 +00:00

17 lines
530 B
Plaintext

$OpenBSD: patch-script_hsc2hs_inst,v 1.3 2010/07/27 18:16:19 kili Exp $
We don't have to care about different archs installed at the same place.
Disable -m32 for now, not all archs support it.
--- script/hsc2hs.inst.orig Thu Aug 7 00:10:43 2008
+++ script/hsc2hs.inst Sat Jul 24 16:02:52 2010
@@ -4,7 +4,7 @@
SCRIPTDIR=${SCRIPTDIR-ScriptDir}
EXEDIR=${EXEDIR-ExecutableDir}
INCDIR=${INCDIR-IncludeDir}
-MACHINE=${MACHINE-"`$SCRIPTDIR/harch`"}
+MACHINE=OpenBSD
export MACHINE EXEDIR SCRIPTDIR
if [ ! -d $EXEDIR/$MACHINE ]