summaryrefslogtreecommitdiff
path: root/lang/sather/patches/patch-ae
blob: 3fee9cdb8853fd5d2e7fda2165f7239aa8e5e06a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
$NetBSD: patch-ae,v 1.4 2013/08/30 22:36:51 joerg Exp $

--- Makefile.orig	Thu Nov  4 08:04:28 1999
+++ Makefile	Thu May  2 17:09:46 2002
@@ -23,15 +23,15 @@
 
 # Standard things
 # CMP=cmp
-RANLIB=ranlib
-MV=mv
-AR=ar
+RANLIB?=ranlib
+MV?=mv
+AR?=ar
 RM=rm -f
 LN=ln -sf
-CP=cp
+CP?=cp
 
-CPP=/lib/cpp -C -P
-CC=gcc
+CPP=tradcpp -C -P
+CC?=gcc
 EXEC_SUFFIX=
 # CC is only used for bootstrapping, check System/Common/CONFIG.proto if
 # you want to change it for all Sather compilations
@@ -91,7 +91,7 @@
 # The platform to use if not overridden by a -<platform> option
 # or the SATHER_PLATFORM environment variable
 # Should be edited for a particular system
-DEFAULT_PLATFORM=linux
+DEFAULT_PLATFORM=${LOWER_OPSYS}
 
 # The platform used to compile the boot compiler. Usually just default, but has to
 # be one of: freebsd, hpux_at, iris-4, linux, osf_at, solaris, solaris_at, unix,