openbsd-ports/lang/nhc98/patches/patch-script_nhc98_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

16 lines
485 B
Plaintext

$OpenBSD: patch-script_nhc98_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.
--- script/nhc98.inst.orig Sat Sep 6 05:01:16 2008
+++ script/nhc98.inst Sat Jul 24 16:09:13 2010
@@ -13,7 +13,7 @@
NHC98BINDIR=${NHC98BINDIR-ScriptDir}
NHC98LIBDIR=${NHC98LIBDIR-ExecutableDir}
NHC98INCDIR=${NHC98INCDIR-IncludeDir}
-MACHINE=${MACHINE-"`$NHC98BINDIR/harch`"}
+MACHINE=OpenBSD
if [ ! -d $NHC98LIBDIR/$MACHINE ]
then