freebsd-ports/shells/dash/Makefile
Bryan Drewery 06ec6a0b8f - Update to 0.5.10.2 [1]
- Update comment on the real problem with UNUSABLE_RT_SIGNALS.  This is
  avoiding a buffer overflow due to NSIG*2 being far smaller than
  SIGRTMAX.

PR:		230156 [1]
Submitted by:	Nathan <ndowens@yahoo.com> (based on) [1]
2018-09-13 20:58:56 +00:00

29 lines
611 B
Makefile

# $FreeBSD$
PORTNAME= dash
PORTVERSION= 0.5.10.2
CATEGORIES= shells
MASTER_SITES= http://gondor.apana.org.au/~herbert/dash/files/
MAINTAINER= bdrewery@FreeBSD.org
COMMENT= POSIX-compliant implementation of /bin/sh
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
# SIGRTMAX is larger than NSIG*2 which mksignames.c does not support. Just
# disable RT signal handling.
CFLAGS+= -DUNUSABLE_RT_SIGNALS
USES= gmake
PLIST_FILES= bin/dash \
man/man1/dash.1.gz
post-patch:
${REINPLACE_CMD} -e '/COMMON_CFLAGS =/ s|$$| ${CFLAGS}|' \
${WRKSRC}/src/Makefile.in
.include <bsd.port.mk>