diff options
author | bapt <bapt@FreeBSD.org> | 2014-02-26 15:09:50 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-02-26 15:09:50 +0800 |
commit | b7c56cd02e5a0fa41a19bde7c73d43fc4152d4be (patch) | |
tree | 0b1e6844755dfd34b1956bd3c808fd34be461c09 /shells | |
parent | 7cc2c0cd6ea951c936fd95608f95f34d8c6fcf3f (diff) | |
download | freebsd-ports-gnome-b7c56cd02e5a0fa41a19bde7c73d43fc4152d4be.tar.gz freebsd-ports-gnome-b7c56cd02e5a0fa41a19bde7c73d43fc4152d4be.tar.zst freebsd-ports-gnome-b7c56cd02e5a0fa41a19bde7c73d43fc4152d4be.zip |
post-install is not needed anymore when staged [1]
While here: use optionsng
Reported by: miwi [1]
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> |