From owner-svn-ports-all@FreeBSD.ORG Wed Feb 26 07:09:50 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B25855A8; Wed, 26 Feb 2014 07:09:50 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9E84513DA; Wed, 26 Feb 2014 07:09:50 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1Q79o3X064422; Wed, 26 Feb 2014 07:09:50 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1Q79oX1064421; Wed, 26 Feb 2014 07:09:50 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201402260709.s1Q79oX1064421@svn.freebsd.org> From: Baptiste Daroussin Date: Wed, 26 Feb 2014 07:09:50 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r346118 - head/shells/pdksh X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Feb 2014 07:09:50 -0000 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 +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