diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-02-26 07:09:50 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-02-26 07:09:50 +0000 |
commit | de90ca6b109f73c8c4b618fea0a9b3211bd486a9 (patch) | |
tree | 0b1e6844755dfd34b1956bd3c808fd34be461c09 /shells | |
parent | b5f6f00d70ec8793df9d055ae0605e366e5ede30 (diff) | |
download | ports-de90ca6b109f73c8c4b618fea0a9b3211bd486a9.tar.gz ports-de90ca6b109f73c8c4b618fea0a9b3211bd486a9.zip |
Notes
Diffstat (limited to 'shells')
-rw-r--r-- | shells/pdksh/Makefile | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/shells/pdksh/Makefile b/shells/pdksh/Makefile index b9d4b656a9e4..a82fb848b919 100644 --- a/shells/pdksh/Makefile +++ b/shells/pdksh/Makefile @@ -19,23 +19,14 @@ COMMENT= The Public Domain Korn Shell LICENSE= BSD3CLAUSE -GNU_CONFIGURE= yes +OPTIONS_DEFINE= STATIC -.include <bsd.port.options.mk> +GNU_CONFIGURE= yes -.if defined(WITH_STATIC) -CONFIGURE_ENV+= LDSTATIC=-static -.endif +STATIC_CONFIGURE_ENV+= LDSTATIC=-static post-patch: @(${ECHO_CMD} ",s/v${PORTVERSION:C/p.*//}/v${PORTVERSION:S/p/./}/"; \ ${ECHO_CMD} "wq") | ed -s ${WRKSRC}/version.c -post-install: - @${ECHO} "Updating /etc/shells" - @${CP} /etc/shells /etc/shells.bak - @(${GREP} -v "${PREFIX}/bin/ksh$$" /etc/shells.bak; \ - ${ECHO_CMD} ${PREFIX}/bin/ksh) > /etc/shells - @${RM} /etc/shells.bak - .include <bsd.port.mk> |