summaryrefslogtreecommitdiff
path: root/lang/sather/patches/patch-ah
blob: 483875f28b9e60c6a49d36081bf8cf74b2ad10ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ah,v 1.2 2015/12/29 18:17:04 dholland Exp $

Don't hardwire own paths.

--- Library/System/unix.sa.orig	Wed Oct 13 13:34:47 1999
+++ Library/System/unix.sa
@@ -20,7 +20,7 @@
    sather_home: STR is
       r ::= get_env("SATHER_HOME");
       if void(r) then 
-	 r := "/usr/lib/sather";
+	 r := "@PREFIX@/lib/sather";
       end;
 	 if r[r.size-1] = '/' then
 	    raise "Environment variable SATHER_HOME should not end with /";