summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1994-12-30 14:26:10 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1994-12-30 14:26:10 +0000
commit302fd06bc37a413652979a515a938ebb209e46dd (patch)
tree8edef20e0db181a3d0a1f544be635fb273f2fd60 /shells
parentScheme to C compiler and interpreter - 15mar93 (diff)
Upgrade.
Attention: you need to remove your bash from /usr/ports/distfiles and re-fetch it again, because version changed while filename not changed.
Notes
Notes: svn path=/head/; revision=649
Diffstat (limited to 'shells')
-rw-r--r--shells/bash/files/patch-ab83
-rw-r--r--shells/bash1/files/patch-ab83
-rw-r--r--shells/bash2/files/patch-ab83
-rw-r--r--shells/bash3/files/patch-ab83
4 files changed, 164 insertions, 168 deletions
diff --git a/shells/bash/files/patch-ab b/shells/bash/files/patch-ab
index 5bb8de2d202c..cdafae8c6662 100644
--- a/shells/bash/files/patch-ab
+++ b/shells/bash/files/patch-ab
@@ -1,57 +1,56 @@
-*** cpp-Makefile.orig Mon Dec 12 04:14:30 1994
---- cpp-Makefile Mon Dec 12 04:14:30 1994
+*** cpp-Makefile.orig Thu Dec 22 23:36:46 1994
+--- cpp-Makefile Fri Dec 30 16:54:09 1994
***************
-*** 136,144 ****
- /* This is guaranteed to work, even if you have the fixed includes!
- (Unless, of course, you have the fixed include files installed in
+*** 138,144 ****
+--- 138,148 ----
/usr/include. Then it will break.) */
-! CC = gcc -traditional -I/usr/include $(GCC_EXTRAS)
+ CC = gcc -traditional -I/usr/include $(GCC_EXTRAS)
# else /* HAVE_FIXED_INCLUDES */
-! CC = gcc $(GCC_EXTRAS)
- # endif /* HAVE_FIXED_INCLUDES */
- #else /* !HAVE_GCC */
- CC = CPP_CC
---- 136,144 ----
- /* This is guaranteed to work, even if you have the fixed includes!
- (Unless, of course, you have the fixed include files installed in
- /usr/include. Then it will break.) */
-! CC = cc -traditional -I/usr/include $(GCC_EXTRAS)
- # else /* HAVE_FIXED_INCLUDES */
-! CC = cc $(GCC_EXTRAS)
++ #ifdef __FreeBSD__
++ CC += $(GCC_EXTRAS)
++ #else
+ CC = gcc $(GCC_EXTRAS)
++ #endif
# endif /* HAVE_FIXED_INCLUDES */
#else /* !HAVE_GCC */
CC = CPP_CC
***************
+*** 155,162 ****
+--- 159,171 ----
+ RM = rm -f
+ AR = ar
+
++ #ifndef __FreeBSD__
+ INSTALL_PROGRAM = install -c
+ INSTALL_DATA = install -c -m 644
++ #else
++ INSTALL_PROGRAM = install -c -o bin -g bin -m 555
++ INSTALL_DATA = install -c -o bin -g bin -m 644
++ #endif
+
+ COMPRESS = gzip
+ COMPRESS_EXT = .gz
+***************
*** 304,310 ****
+--- 313,321 ----
/**/# The GNU coding standards don't recognize the possibility that
/**/# other information besides optimization and debugging might be
/**/# passed to cc. A different name should have been used.
-! CFLAGS = -O -g
-
- SYSTEM_FLAGS = $(LINEBUF) $(VPRINTF) $(UNISTD) $(STDLIB) $(LIMITSH) \
- $(GROUPS) $(RESOURCE) $(PARAM) $(SIGHANDLER) $(SYSDEP) $(WAITH) \
---- 304,310 ----
- /**/# The GNU coding standards don't recognize the possibility that
- /**/# other information besides optimization and debugging might be
- /**/# passed to cc. A different name should have been used.
-! #CFLAGS = -O -g
++ #ifndef __FreeBSD__
+ CFLAGS = -O -g
++ #endif
SYSTEM_FLAGS = $(LINEBUF) $(VPRINTF) $(UNISTD) $(STDLIB) $(LIMITSH) \
$(GROUPS) $(RESOURCE) $(PARAM) $(SIGHANDLER) $(SYSDEP) $(WAITH) \
***************
-*** 383,389 ****
- Program = bash
-
- /**/# The type of machine and OS Bash is being compiled on.
-! HOSTTYPE_DECL = -DHOSTTYPE='$(SYSTEM_NAME)' -DOSTYPE='$(OS_NAME)'
-
- MAINTAIN_DEFINE = -DMAINTAINER='"bug-bash@prep.ai.mit.edu"'
-
---- 383,389 ----
- Program = bash
-
- /**/# The type of machine and OS Bash is being compiled on.
-! HOSTTYPE_DECL = -DHOSTTYPE='"$(SYSTEM_NAME)"' -DOSTYPE='"$(OS_NAME)"'
-
- MAINTAIN_DEFINE = -DMAINTAINER='"bug-bash@prep.ai.mit.edu"'
-
+*** 312,317 ****
+--- 323,331 ----
+ $(VARARGSH) $(STRCHR) $(STRCASE) $(DEVFD) \
+ -D$(Machine) -D$(OS)
+ LDFLAGS = $(NOSHARE) $(SYSDEP_LD) $(EXTRA_LD_PATH) $(PROFILE_FLAGS) $(CFLAGS)
++ #ifdef __FreeBSD__
++ LDFLAGS += -s
++ #endif
+ CCFLAGS = $(PROFILE_FLAGS) $(CFLAGS) $(SYSTEM_FLAGS) -DSHELL $(ALLOCA_CFLAGS) \
+ $(MALLOC_CFLAGS)
+ CPPFLAGS= -I. -I$(srcdir) -I$(LIBSRC)
diff --git a/shells/bash1/files/patch-ab b/shells/bash1/files/patch-ab
index 5bb8de2d202c..cdafae8c6662 100644
--- a/shells/bash1/files/patch-ab
+++ b/shells/bash1/files/patch-ab
@@ -1,57 +1,56 @@
-*** cpp-Makefile.orig Mon Dec 12 04:14:30 1994
---- cpp-Makefile Mon Dec 12 04:14:30 1994
+*** cpp-Makefile.orig Thu Dec 22 23:36:46 1994
+--- cpp-Makefile Fri Dec 30 16:54:09 1994
***************
-*** 136,144 ****
- /* This is guaranteed to work, even if you have the fixed includes!
- (Unless, of course, you have the fixed include files installed in
+*** 138,144 ****
+--- 138,148 ----
/usr/include. Then it will break.) */
-! CC = gcc -traditional -I/usr/include $(GCC_EXTRAS)
+ CC = gcc -traditional -I/usr/include $(GCC_EXTRAS)
# else /* HAVE_FIXED_INCLUDES */
-! CC = gcc $(GCC_EXTRAS)
- # endif /* HAVE_FIXED_INCLUDES */
- #else /* !HAVE_GCC */
- CC = CPP_CC
---- 136,144 ----
- /* This is guaranteed to work, even if you have the fixed includes!
- (Unless, of course, you have the fixed include files installed in
- /usr/include. Then it will break.) */
-! CC = cc -traditional -I/usr/include $(GCC_EXTRAS)
- # else /* HAVE_FIXED_INCLUDES */
-! CC = cc $(GCC_EXTRAS)
++ #ifdef __FreeBSD__
++ CC += $(GCC_EXTRAS)
++ #else
+ CC = gcc $(GCC_EXTRAS)
++ #endif
# endif /* HAVE_FIXED_INCLUDES */
#else /* !HAVE_GCC */
CC = CPP_CC
***************
+*** 155,162 ****
+--- 159,171 ----
+ RM = rm -f
+ AR = ar
+
++ #ifndef __FreeBSD__
+ INSTALL_PROGRAM = install -c
+ INSTALL_DATA = install -c -m 644
++ #else
++ INSTALL_PROGRAM = install -c -o bin -g bin -m 555
++ INSTALL_DATA = install -c -o bin -g bin -m 644
++ #endif
+
+ COMPRESS = gzip
+ COMPRESS_EXT = .gz
+***************
*** 304,310 ****
+--- 313,321 ----
/**/# The GNU coding standards don't recognize the possibility that
/**/# other information besides optimization and debugging might be
/**/# passed to cc. A different name should have been used.
-! CFLAGS = -O -g
-
- SYSTEM_FLAGS = $(LINEBUF) $(VPRINTF) $(UNISTD) $(STDLIB) $(LIMITSH) \
- $(GROUPS) $(RESOURCE) $(PARAM) $(SIGHANDLER) $(SYSDEP) $(WAITH) \
---- 304,310 ----
- /**/# The GNU coding standards don't recognize the possibility that
- /**/# other information besides optimization and debugging might be
- /**/# passed to cc. A different name should have been used.
-! #CFLAGS = -O -g
++ #ifndef __FreeBSD__
+ CFLAGS = -O -g
++ #endif
SYSTEM_FLAGS = $(LINEBUF) $(VPRINTF) $(UNISTD) $(STDLIB) $(LIMITSH) \
$(GROUPS) $(RESOURCE) $(PARAM) $(SIGHANDLER) $(SYSDEP) $(WAITH) \
***************
-*** 383,389 ****
- Program = bash
-
- /**/# The type of machine and OS Bash is being compiled on.
-! HOSTTYPE_DECL = -DHOSTTYPE='$(SYSTEM_NAME)' -DOSTYPE='$(OS_NAME)'
-
- MAINTAIN_DEFINE = -DMAINTAINER='"bug-bash@prep.ai.mit.edu"'
-
---- 383,389 ----
- Program = bash
-
- /**/# The type of machine and OS Bash is being compiled on.
-! HOSTTYPE_DECL = -DHOSTTYPE='"$(SYSTEM_NAME)"' -DOSTYPE='"$(OS_NAME)"'
-
- MAINTAIN_DEFINE = -DMAINTAINER='"bug-bash@prep.ai.mit.edu"'
-
+*** 312,317 ****
+--- 323,331 ----
+ $(VARARGSH) $(STRCHR) $(STRCASE) $(DEVFD) \
+ -D$(Machine) -D$(OS)
+ LDFLAGS = $(NOSHARE) $(SYSDEP_LD) $(EXTRA_LD_PATH) $(PROFILE_FLAGS) $(CFLAGS)
++ #ifdef __FreeBSD__
++ LDFLAGS += -s
++ #endif
+ CCFLAGS = $(PROFILE_FLAGS) $(CFLAGS) $(SYSTEM_FLAGS) -DSHELL $(ALLOCA_CFLAGS) \
+ $(MALLOC_CFLAGS)
+ CPPFLAGS= -I. -I$(srcdir) -I$(LIBSRC)
diff --git a/shells/bash2/files/patch-ab b/shells/bash2/files/patch-ab
index 5bb8de2d202c..cdafae8c6662 100644
--- a/shells/bash2/files/patch-ab
+++ b/shells/bash2/files/patch-ab
@@ -1,57 +1,56 @@
-*** cpp-Makefile.orig Mon Dec 12 04:14:30 1994
---- cpp-Makefile Mon Dec 12 04:14:30 1994
+*** cpp-Makefile.orig Thu Dec 22 23:36:46 1994
+--- cpp-Makefile Fri Dec 30 16:54:09 1994
***************
-*** 136,144 ****
- /* This is guaranteed to work, even if you have the fixed includes!
- (Unless, of course, you have the fixed include files installed in
+*** 138,144 ****
+--- 138,148 ----
/usr/include. Then it will break.) */
-! CC = gcc -traditional -I/usr/include $(GCC_EXTRAS)
+ CC = gcc -traditional -I/usr/include $(GCC_EXTRAS)
# else /* HAVE_FIXED_INCLUDES */
-! CC = gcc $(GCC_EXTRAS)
- # endif /* HAVE_FIXED_INCLUDES */
- #else /* !HAVE_GCC */
- CC = CPP_CC
---- 136,144 ----
- /* This is guaranteed to work, even if you have the fixed includes!
- (Unless, of course, you have the fixed include files installed in
- /usr/include. Then it will break.) */
-! CC = cc -traditional -I/usr/include $(GCC_EXTRAS)
- # else /* HAVE_FIXED_INCLUDES */
-! CC = cc $(GCC_EXTRAS)
++ #ifdef __FreeBSD__
++ CC += $(GCC_EXTRAS)
++ #else
+ CC = gcc $(GCC_EXTRAS)
++ #endif
# endif /* HAVE_FIXED_INCLUDES */
#else /* !HAVE_GCC */
CC = CPP_CC
***************
+*** 155,162 ****
+--- 159,171 ----
+ RM = rm -f
+ AR = ar
+
++ #ifndef __FreeBSD__
+ INSTALL_PROGRAM = install -c
+ INSTALL_DATA = install -c -m 644
++ #else
++ INSTALL_PROGRAM = install -c -o bin -g bin -m 555
++ INSTALL_DATA = install -c -o bin -g bin -m 644
++ #endif
+
+ COMPRESS = gzip
+ COMPRESS_EXT = .gz
+***************
*** 304,310 ****
+--- 313,321 ----
/**/# The GNU coding standards don't recognize the possibility that
/**/# other information besides optimization and debugging might be
/**/# passed to cc. A different name should have been used.
-! CFLAGS = -O -g
-
- SYSTEM_FLAGS = $(LINEBUF) $(VPRINTF) $(UNISTD) $(STDLIB) $(LIMITSH) \
- $(GROUPS) $(RESOURCE) $(PARAM) $(SIGHANDLER) $(SYSDEP) $(WAITH) \
---- 304,310 ----
- /**/# The GNU coding standards don't recognize the possibility that
- /**/# other information besides optimization and debugging might be
- /**/# passed to cc. A different name should have been used.
-! #CFLAGS = -O -g
++ #ifndef __FreeBSD__
+ CFLAGS = -O -g
++ #endif
SYSTEM_FLAGS = $(LINEBUF) $(VPRINTF) $(UNISTD) $(STDLIB) $(LIMITSH) \
$(GROUPS) $(RESOURCE) $(PARAM) $(SIGHANDLER) $(SYSDEP) $(WAITH) \
***************
-*** 383,389 ****
- Program = bash
-
- /**/# The type of machine and OS Bash is being compiled on.
-! HOSTTYPE_DECL = -DHOSTTYPE='$(SYSTEM_NAME)' -DOSTYPE='$(OS_NAME)'
-
- MAINTAIN_DEFINE = -DMAINTAINER='"bug-bash@prep.ai.mit.edu"'
-
---- 383,389 ----
- Program = bash
-
- /**/# The type of machine and OS Bash is being compiled on.
-! HOSTTYPE_DECL = -DHOSTTYPE='"$(SYSTEM_NAME)"' -DOSTYPE='"$(OS_NAME)"'
-
- MAINTAIN_DEFINE = -DMAINTAINER='"bug-bash@prep.ai.mit.edu"'
-
+*** 312,317 ****
+--- 323,331 ----
+ $(VARARGSH) $(STRCHR) $(STRCASE) $(DEVFD) \
+ -D$(Machine) -D$(OS)
+ LDFLAGS = $(NOSHARE) $(SYSDEP_LD) $(EXTRA_LD_PATH) $(PROFILE_FLAGS) $(CFLAGS)
++ #ifdef __FreeBSD__
++ LDFLAGS += -s
++ #endif
+ CCFLAGS = $(PROFILE_FLAGS) $(CFLAGS) $(SYSTEM_FLAGS) -DSHELL $(ALLOCA_CFLAGS) \
+ $(MALLOC_CFLAGS)
+ CPPFLAGS= -I. -I$(srcdir) -I$(LIBSRC)
diff --git a/shells/bash3/files/patch-ab b/shells/bash3/files/patch-ab
index 5bb8de2d202c..cdafae8c6662 100644
--- a/shells/bash3/files/patch-ab
+++ b/shells/bash3/files/patch-ab
@@ -1,57 +1,56 @@
-*** cpp-Makefile.orig Mon Dec 12 04:14:30 1994
---- cpp-Makefile Mon Dec 12 04:14:30 1994
+*** cpp-Makefile.orig Thu Dec 22 23:36:46 1994
+--- cpp-Makefile Fri Dec 30 16:54:09 1994
***************
-*** 136,144 ****
- /* This is guaranteed to work, even if you have the fixed includes!
- (Unless, of course, you have the fixed include files installed in
+*** 138,144 ****
+--- 138,148 ----
/usr/include. Then it will break.) */
-! CC = gcc -traditional -I/usr/include $(GCC_EXTRAS)
+ CC = gcc -traditional -I/usr/include $(GCC_EXTRAS)
# else /* HAVE_FIXED_INCLUDES */
-! CC = gcc $(GCC_EXTRAS)
- # endif /* HAVE_FIXED_INCLUDES */
- #else /* !HAVE_GCC */
- CC = CPP_CC
---- 136,144 ----
- /* This is guaranteed to work, even if you have the fixed includes!
- (Unless, of course, you have the fixed include files installed in
- /usr/include. Then it will break.) */
-! CC = cc -traditional -I/usr/include $(GCC_EXTRAS)
- # else /* HAVE_FIXED_INCLUDES */
-! CC = cc $(GCC_EXTRAS)
++ #ifdef __FreeBSD__
++ CC += $(GCC_EXTRAS)
++ #else
+ CC = gcc $(GCC_EXTRAS)
++ #endif
# endif /* HAVE_FIXED_INCLUDES */
#else /* !HAVE_GCC */
CC = CPP_CC
***************
+*** 155,162 ****
+--- 159,171 ----
+ RM = rm -f
+ AR = ar
+
++ #ifndef __FreeBSD__
+ INSTALL_PROGRAM = install -c
+ INSTALL_DATA = install -c -m 644
++ #else
++ INSTALL_PROGRAM = install -c -o bin -g bin -m 555
++ INSTALL_DATA = install -c -o bin -g bin -m 644
++ #endif
+
+ COMPRESS = gzip
+ COMPRESS_EXT = .gz
+***************
*** 304,310 ****
+--- 313,321 ----
/**/# The GNU coding standards don't recognize the possibility that
/**/# other information besides optimization and debugging might be
/**/# passed to cc. A different name should have been used.
-! CFLAGS = -O -g
-
- SYSTEM_FLAGS = $(LINEBUF) $(VPRINTF) $(UNISTD) $(STDLIB) $(LIMITSH) \
- $(GROUPS) $(RESOURCE) $(PARAM) $(SIGHANDLER) $(SYSDEP) $(WAITH) \
---- 304,310 ----
- /**/# The GNU coding standards don't recognize the possibility that
- /**/# other information besides optimization and debugging might be
- /**/# passed to cc. A different name should have been used.
-! #CFLAGS = -O -g
++ #ifndef __FreeBSD__
+ CFLAGS = -O -g
++ #endif
SYSTEM_FLAGS = $(LINEBUF) $(VPRINTF) $(UNISTD) $(STDLIB) $(LIMITSH) \
$(GROUPS) $(RESOURCE) $(PARAM) $(SIGHANDLER) $(SYSDEP) $(WAITH) \
***************
-*** 383,389 ****
- Program = bash
-
- /**/# The type of machine and OS Bash is being compiled on.
-! HOSTTYPE_DECL = -DHOSTTYPE='$(SYSTEM_NAME)' -DOSTYPE='$(OS_NAME)'
-
- MAINTAIN_DEFINE = -DMAINTAINER='"bug-bash@prep.ai.mit.edu"'
-
---- 383,389 ----
- Program = bash
-
- /**/# The type of machine and OS Bash is being compiled on.
-! HOSTTYPE_DECL = -DHOSTTYPE='"$(SYSTEM_NAME)"' -DOSTYPE='"$(OS_NAME)"'
-
- MAINTAIN_DEFINE = -DMAINTAINER='"bug-bash@prep.ai.mit.edu"'
-
+*** 312,317 ****
+--- 323,331 ----
+ $(VARARGSH) $(STRCHR) $(STRCASE) $(DEVFD) \
+ -D$(Machine) -D$(OS)
+ LDFLAGS = $(NOSHARE) $(SYSDEP_LD) $(EXTRA_LD_PATH) $(PROFILE_FLAGS) $(CFLAGS)
++ #ifdef __FreeBSD__
++ LDFLAGS += -s
++ #endif
+ CCFLAGS = $(PROFILE_FLAGS) $(CFLAGS) $(SYSTEM_FLAGS) -DSHELL $(ALLOCA_CFLAGS) \
+ $(MALLOC_CFLAGS)
+ CPPFLAGS= -I. -I$(srcdir) -I$(LIBSRC)