aboutsummaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2001-02-27 18:33:39 +0000
committerSteve Price <steve@FreeBSD.org>2001-02-27 18:33:39 +0000
commitf20528e4896c7754edf8e90eea054034b3bbae42 (patch)
tree809e5838e176b06a04c568137755ba156785841d /shells
parent1a78e9a3344afadb32117c4d758ca7fd5503e8ec (diff)
downloadports-f20528e4896c7754edf8e90eea054034b3bbae42.tar.gz
ports-f20528e4896c7754edf8e90eea054034b3bbae42.zip
Notes
Diffstat (limited to 'shells')
-rw-r--r--shells/ksh93/Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/shells/ksh93/Makefile b/shells/ksh93/Makefile
index d25cf60261b1..3a923caef4a4 100644
--- a/shells/ksh93/Makefile
+++ b/shells/ksh93/Makefile
@@ -17,20 +17,17 @@ IS_INTERACTIVE= yes # must acknowledge license
DISTNAME= ${PORTNAME}-${VERSION}
DISTFILES= INIT.${VERSION}.tgz ast-ksh.${VERSION}.tgz
-EXTRACT_ONLY= INIT.${VERSION}.tgz
NO_WRKSUBDIR= yes
+MAKE_ARGS= CC='${CC}' CCFLAGS='${CFLAGS}' SHELL='${SH}'
+.if defined(WANT_STATIC)
+MAKE_ARGS+= LDFLAGS=-static
+.endif
MAN1= ksh93.1
-post-extract:
- @${MKDIR} ${WRKSRC}/lib/package/tgz
- @${LN} -s ${DISTDIR}/ast-ksh.${VERSION}.tgz ${WRKSRC}/lib/package/tgz/
- @cd ${WRKSRC}; bin/package read
-
do-build:
- @cd ${WRKSRC}; bin/package make \
- CC='${CC}' CCFLAGS='${CFLAGS}' LDFLAGS=-static
+ @cd ${WRKSRC}; bin/package make ${MAKE_ARGS}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/arch/freebsd.${ARCH}/bin/ksh \