Skip to content

Instantly share code, notes, and snippets.

@mcandre
Created April 27, 2011 00:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mcandre/943516 to your computer and use it in GitHub Desktop.
Save mcandre/943516 to your computer and use it in GitHub Desktop.
Required for compiling GHC in Haiku
--- boot 2011-01-31 00:25:34.215744512 +0000
+++ boot.new 2011-01-31 00:25:53.589561856 +0000
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!perl -w
use strict;
@@ -43,7 +43,7 @@
}
# Create libraries/*/{ghc.mk,GNUmakefile}
-system("/usr/bin/perl", "-w", "boot-pkgs") == 0
+system("perl", "-w", "boot-pkgs") == 0
or die "Running boot-pkgs failed: $?";
my $tag;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment