diff options
author | Steve Price <steve@FreeBSD.org> | 2001-02-27 18:33:39 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 2001-02-27 18:33:39 +0000 |
commit | f20528e4896c7754edf8e90eea054034b3bbae42 (patch) | |
tree | 809e5838e176b06a04c568137755ba156785841d /shells | |
parent | Prefix "j" to the names of the binaries and the manpages. (diff) |
- Remove the custom do-extract target.
- Cleanup the do-build target.
- Allow the ksh binary to be statically linked but default to dynamic
to support dynamic loading of 'builtin' functions.
Submitted by: Jacques A. Vidrine <n@nectar.com>
Reviewed by: maintainer
Notes
Notes:
svn path=/head/; revision=38859
Diffstat (limited to 'shells')
-rw-r--r-- | shells/ksh93/Makefile | 13 |
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 \ |