aboutsummaryrefslogtreecommitdiffstats
path: root/shells/dash
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2015-02-05 23:55:53 +0800
committerbapt <bapt@FreeBSD.org>2015-02-05 23:55:53 +0800
commite63cb0d00404fe2965d08648d9171572dea745c7 (patch)
tree51cba50a7e7a19db640f170e18b4528f97667902 /shells/dash
parent6140fdd89707c74015bcba52ff326f985d356063 (diff)
downloadfreebsd-ports-gnome-e63cb0d00404fe2965d08648d9171572dea745c7.tar.gz
freebsd-ports-gnome-e63cb0d00404fe2965d08648d9171572dea745c7.tar.zst
freebsd-ports-gnome-e63cb0d00404fe2965d08648d9171572dea745c7.zip
Cleanup plist
Diffstat (limited to 'shells/dash')
-rw-r--r--shells/dash/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/shells/dash/Makefile b/shells/dash/Makefile
index 0870a9a07bc8..4ce4c107959b 100644
--- a/shells/dash/Makefile
+++ b/shells/dash/Makefile
@@ -8,6 +8,9 @@ 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
@@ -16,6 +19,10 @@ 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