blob: 4ce4c107959b825a8e24e5f4d1d9cc7215a1d274 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# $FreeBSD$
PORTNAME= dash
PORTVERSION= 0.5.8
CATEGORIES= shells
MASTER_SITES= http://gondor.apana.org.au/~herbert/dash/files/
MAINTAINER= bdrewery@FreeBSD.org
COMMENT= POSIX-compliant implementation of /bin/sh
SEPARATE_BUILD= flavored
FLAVORS= static
FLAVOR?=
GNU_CONFIGURE= yes
# This work in 11-CURRENT r266677M amd64 but fails to work in 11.0-CURRENT r266677 i386
CFLAGS+= -DUNUSABLE_RT_SIGNALS
USES= gmake
PLIST_FILES= bin/dash man/man1/dash.1.gz
.if ${FLAVOR:Mstatic}
LDFLAGS+= -static
.endif
post-patch:
${REINPLACE_CMD} -e '/COMMON_CFLAGS =/ s|$$| ${CFLAGS}|' \
${WRKSRC}/src/Makefile.in
.include <bsd.port.mk>
|