Date: Wed, 26 Feb 2014 07:09:50 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r346118 - head/shells/pdksh Message-ID: <201402260709.s1Q79oX1064421@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Wed Feb 26 07:09:50 2014 New Revision: 346118 URL: http://svnweb.freebsd.org/changeset/ports/346118 QAT: https://qat.redports.org/buildarchive/r346118/ Log: post-install is not needed anymore when staged [1] While here: use optionsng Reported by: miwi [1] Modified: head/shells/pdksh/Makefile Modified: head/shells/pdksh/Makefile ============================================================================== --- head/shells/pdksh/Makefile Wed Feb 26 07:08:56 2014 (r346117) +++ head/shells/pdksh/Makefile Wed Feb 26 07:09:50 2014 (r346118) @@ -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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402260709.s1Q79oX1064421>