aboutsummaryrefslogtreecommitdiff
path: root/devel/cc65/files
diff options
context:
space:
mode:
authorStanislav Sedov <stas@FreeBSD.org>2008-05-15 10:12:03 +0000
committerStanislav Sedov <stas@FreeBSD.org>2008-05-15 10:12:03 +0000
commit1426871b66e8e2dac63a0ad193787e1c7138e0f8 (patch)
tree3756f15bd1d4167e7b5d171ac72d15dbab022e52 /devel/cc65/files
parent5d624f98886f7ac9ff8c9c51c5abab756081da5d (diff)
Notes
Diffstat (limited to 'devel/cc65/files')
-rw-r--r--devel/cc65/files/patch-make_gcc.mak28
1 files changed, 10 insertions, 18 deletions
diff --git a/devel/cc65/files/patch-make_gcc.mak b/devel/cc65/files/patch-make_gcc.mak
index da4f6b4e78f5..03cd982adb6c 100644
--- a/devel/cc65/files/patch-make_gcc.mak
+++ b/devel/cc65/files/patch-make_gcc.mak
@@ -1,17 +1,17 @@
---- make/gcc.mak.orig Sat Sep 10 16:45:50 2005
-+++ make/gcc.mak Thu Sep 7 20:39:52 2006
+--- make/gcc.mak.orig 2007-06-22 00:40:27.000000000 +0400
++++ make/gcc.mak 2008-05-15 12:55:04.000000000 +0400
@@ -14,7 +14,7 @@
MAKEOVERRIDES=
# The install prefix and directories
--prefix = /usr
+-prefix = /usr/local
+prefix = ${PREFIX}
exec_prefix = $(prefix)
bindir = $(exec_prefix)/bin
-@@ -37,9 +37,9 @@
- INSTALL = install
- #INSTALL = install-sh
+@@ -36,9 +36,9 @@
+ # BSD-like install-script/-program
+ INSTALL = make/install-sh
-INSTALL_DATA = $(INSTALL) -c -m 644
-INSTALL_PROG = $(INSTALL) -c -m 755
@@ -20,9 +20,9 @@
+INSTALL_PROG = ${BSD_INSTALL_SCRIPT}
+INSTALL_STRIP = ${BSD_INSTALL_PROGRAM}
- # Rules
-
-@@ -48,7 +48,7 @@
+ # This file-name extension is needed on DOS/Windows systems.
+ ifdef COMSPEC
+@@ -52,7 +52,7 @@
# a system on the command-line. (A user can do those rules with their
# defaults by putting "all samples tests" on the command-line.)
#
@@ -30,12 +30,4 @@
+all: bins libs $(SYS:%=samples tests)
bins:
- @$(MAKE) -C src -f make/gcc.mak
-@@ -139,7 +139,4 @@
- done
- for f in readme.1st compile.txt CREDITS BUGS internal.txt newvers.txt; \
- do $(INSTALL_DATA) doc/$$f $(CC65DOC) || exit 1; \
-- done
-- -for f in doc/*.html; \
-- do $(INSTALL_DATA) $$f $(CC65DOC) || exit 1; \
- done
+ @$(MAKE) -C src -f make/gcc.mak CC65_INC=\\\"${CC65INC}/\\\" CC65_LIB=\\\"${CC65LIB}/\\\"