svn commit: r346118 - head/shells/pdksh
Baptiste Daroussin
bapt at FreeBSD.org
Wed Feb 26 07:09:50 UTC 2014
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>
More information about the svn-ports-all
mailing list