1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/shells/bash/files/patch-ab

57 lines
1.6 KiB
Plaintext
Raw Normal View History

*** cpp-Makefile.orig Sun Jun 11 22:44:05 1995
--- cpp-Makefile Wed Jul 19 20:17:18 1995
1994-09-29 12:02:10 +00:00
***************
*** 133,139 ****
--- 133,143 ----
1994-09-29 12:02:10 +00:00
/usr/include. Then it will break.) */
CC = gcc -traditional -I/usr/include $(GCC_EXTRAS)
1994-09-29 12:02:10 +00:00
# else /* HAVE_FIXED_INCLUDES */
+ #ifdef __FreeBSD__
+ CC += $(GCC_EXTRAS)
+ #else
CC = gcc $(GCC_EXTRAS)
+ #endif
1994-09-29 12:02:10 +00:00
# endif /* HAVE_FIXED_INCLUDES */
#else /* !HAVE_GCC */
CC = CPP_CC
***************
*** 151,158 ****
--- 155,167 ----
AR = ar
INSTALL = $(SUPPORT_SRC)install.sh
+ #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
***************
*** 300,306 ****
--- 309,317 ----
1994-12-12 02:18:01 +00:00
/**/# 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.
+ #ifndef __FreeBSD__
CFLAGS = -O -g
+ #endif
1994-12-12 02:18:01 +00:00
SYSTEM_FLAGS = $(LINEBUF) $(VPRINTF) $(UNISTD) $(STDLIB) $(LIMITSH) \
$(GROUPS) $(RESOURCE) $(PARAM) $(SIGHANDLER) $(SYSDEP) $(WAITH) \
***************
*** 308,313 ****
--- 319,327 ----
$(VARARGSH) $(STRCHR) $(STRCASE) $(DEVFD) \
-D$(Machine) -D$(OS)
LDFLAGS = $(NOSHARE) $(SYSDEP_LD) $(EXTRA_LD_PATH) $(PROFILE_FLAGS) $(CFLAGS)
+ #ifdef __FreeBSD__
+ LDFLAGS += -s
+ #endif
1995-03-17 01:05:07 +00:00
CCFLAGS = $(PROFILE_FLAGS) $(SYSTEM_FLAGS) -DSHELL $(ALLOCA_CFLAGS) \
$(MALLOC_CFLAGS) $(CFLAGS)
CPPFLAGS= -I. -I$(srcdir) -I$(LIBSRC)