pkgsrc/lang/sather/patches/patch-ae
2006-01-12 00:05:04 +00:00

35 lines
888 B
Text

$NetBSD: patch-ae,v 1.2 2006/01/12 00:05:04 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 -s
-CP=cp
+CP?=cp
-CPP=/lib/cpp -C -P
-CC=gcc
+CPP=/usr/bin/cpp -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
@@ -90,7 +90,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=unix
+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,