- remove BROKEN tag, some people seem to prefer bash 1.x over 2.x

- __FreeBSD__ -> __OpenBSD__ in patch-ab
This commit is contained in:
brad 1999-08-21 17:18:30 +00:00
parent e03fe9e748
commit d50c498b4f
2 changed files with 8 additions and 14 deletions

View File

@ -1,17 +1,11 @@
# $OpenBSD: Makefile,v 1.6 1999/03/07 01:39:00 brad Exp $
#
# $OpenBSD: Makefile,v 1.7 1999/08/21 17:18:30 brad Exp $
DISTNAME= bash-1.14.7
DISTNAME= bash-1.14.7
CATEGORIES= shells
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= bash
BROKEN= "very old, out of date version: see the \"bash2\" port"
MAINTAINER= gene@OpenBSD.ORG
WRKSRC= ${WRKDIR}/${DISTNAME}
# Don't compress manpages or .so not works.
MAINTAINER= ports@openbsd.org
post-install:
@if [ ! -f ${PREFIX}/info/dir ]; then \

View File

@ -6,7 +6,7 @@
/usr/include. Then it will break.) */
CC = gcc -traditional -I/usr/include $(GCC_EXTRAS)
# else /* HAVE_FIXED_INCLUDES */
+ #ifdef __FreeBSD__
+ #ifdef __OpenBSD__
+ CC += $(GCC_EXTRAS)
+ #else
CC = gcc $(GCC_EXTRAS)
@ -20,7 +20,7 @@
AR = ar
INSTALL = $(SUPPORT_SRC)install.sh
+ #ifndef __FreeBSD__
+ #ifndef __OpenBSD__
INSTALL_PROGRAM = $(INSTALL) -c
INSTALL_DATA = $(INSTALL) -c -m 644
+ #else
@ -36,7 +36,7 @@
/**/# 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__
+ #ifndef __OpenBSD__
CFLAGS = -O -g
+ #endif
@ -48,7 +48,7 @@
$(VARARGSH) $(STRCHR) $(STRCASE) $(DEVFD) \
-D$(Machine) -D$(OS)
LDFLAGS = $(NOSHARE) $(SYSDEP_LD) $(EXTRA_LD_PATH) $(PROFILE_FLAGS) $(CFLAGS)
+ #ifdef __FreeBSD__
+ #ifdef __OpenBSD__
+ LDFLAGS += -s
+ #endif
CCFLAGS = $(PROFILE_FLAGS) $(SYSTEM_FLAGS) -DSHELL $(ALLOCA_CFLAGS) \