aboutsummaryrefslogtreecommitdiff
path: root/shells/ksh93
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-03-01 06:13:39 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-03-01 06:13:39 +0000
commit1a4b8e2b1fd1f01a4e4097cba1db27e6818cf172 (patch)
tree395e3c019c5786f78f9b787e89b360639b717783 /shells/ksh93
parent2e33cb07f69a6c0b0dea8fc07adacb20fd7355f1 (diff)
downloadports-1a4b8e2b1fd1f01a4e4097cba1db27e6818cf172.tar.gz
ports-1a4b8e2b1fd1f01a4e4097cba1db27e6818cf172.zip
Notes
Diffstat (limited to 'shells/ksh93')
-rw-r--r--shells/ksh93/Makefile8
-rw-r--r--shells/ksh93/pkg-plist2
2 files changed, 3 insertions, 7 deletions
diff --git a/shells/ksh93/Makefile b/shells/ksh93/Makefile
index fcd241bfcfcf..edc0debf1b26 100644
--- a/shells/ksh93/Makefile
+++ b/shells/ksh93/Makefile
@@ -12,7 +12,7 @@
PORTNAME= ksh93
PORTVERSION= ${KSHVERSION:S/-//g}
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= shells
MASTER_SITES= http://www.research.att.com/~gsf/download/tgz/
DISTFILES= INIT.${INITVERSION}.tgz ast-ksh.${KSHVERSION}.tgz
@@ -33,11 +33,7 @@ NO_WRKSUBDIR= yes
INITVERSION= 2013-05-24
KSHVERSION= 2012-08-01
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MSTATIC}
-MAKE_ENV+= LDFLAGS+=-static
-.endif
+STATIC_MAKE_ENV= LDFLAGS+=-static
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|-pthread|' \
diff --git a/shells/ksh93/pkg-plist b/shells/ksh93/pkg-plist
index 25d81af4423a..8c2880a9dc27 100644
--- a/shells/ksh93/pkg-plist
+++ b/shells/ksh93/pkg-plist
@@ -1,5 +1,5 @@
-@unexec echo "Updating /etc/shells"; sed -i "" "\|%D/%F|d" /etc/shells
bin/ksh93
+@unexec echo "Updating /etc/shells"; sed -i "" "\|%D/%F|d" /etc/shells
@exec echo "Updating /etc/shells"; sed -i "" "\|%D/%F|d" /etc/shells; echo %D/%F >> /etc/shells
man/man1/ksh93.1.gz
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dirs