freebsd-ports/shells/bash1/files/patch-aa

20 lines
650 B
Text

--- Makefile.orig Sun Jun 11 11:41:48 1995
+++ Makefile Sat Nov 27 19:01:13 1999
@@ -10,7 +10,7 @@
# If you haven't read README, now might be a good time.
# Include some boilerplate Gnu makefile definitions.
-prefix = /usr/local
+prefix = $(PREFIX)
exec_prefix = $(prefix)
bindir = $(exec_prefix)/bin
srcdir = .
@@ -25,7 +25,7 @@
# Force CPPNAME to be the name of your C preprocesor if Bash can't
# find it. For instance, `CPPNAME=/usr/libexec/cpp' on 4.4 BSD.
# If all else fails, set CPPNAME=$(CC) -E
-CPPNAME =
+CPPNAME = $(CC) -E
CPP = `$(SHELL) $(CPPMAGIC) $(GETCPPSYMS) "$(CPPNAME)"` -P
CPP_MAKEFILE = $(srcdir)/cpp-Makefile