Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Mar 2014 06:13:39 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r346594 - head/shells/ksh93
Message-ID:  <201403010613.s216Ddfn005848@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Mar  1 06:13:39 2014
New Revision: 346594
URL: http://svnweb.freebsd.org/changeset/ports/346594
QAT: https://qat.redports.org/buildarchive/r346594/

Log:
  - Convert to new options helper
  - Fix PLIST [1]
  - Bump PORTREVISION for package change
  
  Submitted by:	olgeni [1]

Modified:
  head/shells/ksh93/Makefile
  head/shells/ksh93/pkg-plist

Modified: head/shells/ksh93/Makefile
==============================================================================
--- head/shells/ksh93/Makefile	Sat Mar  1 05:43:49 2014	(r346593)
+++ head/shells/ksh93/Makefile	Sat Mar  1 06:13:39 2014	(r346594)
@@ -12,7 +12,7 @@
 
 PORTNAME=	ksh93
 PORTVERSION=	${KSHVERSION:S/-//g}
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	shells
 MASTER_SITES=	http://www.research.att.com/~gsf/download/tgz/
 DISTFILES=	INIT.${INITVERSION}.tgz ast-ksh.${KSHVERSION}.tgz
@@ -33,11 +33,7 @@ NO_WRKSUBDIR=	yes
 INITVERSION=	2013-05-24
 KSHVERSION=	2012-08-01
 
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MSTATIC}
-MAKE_ENV+=	LDFLAGS+=-static
-.endif
+STATIC_MAKE_ENV=	LDFLAGS+=-static
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|-lpthread|-pthread|' \

Modified: head/shells/ksh93/pkg-plist
==============================================================================
--- head/shells/ksh93/pkg-plist	Sat Mar  1 05:43:49 2014	(r346593)
+++ head/shells/ksh93/pkg-plist	Sat Mar  1 06:13:39 2014	(r346594)
@@ -1,5 +1,5 @@
-@unexec echo "Updating /etc/shells"; sed -i "" "\|%D/%F|d" /etc/shells
 bin/ksh93
+@unexec echo "Updating /etc/shells"; sed -i "" "\|%D/%F|d" /etc/shells
 @exec echo "Updating /etc/shells"; sed -i "" "\|%D/%F|d" /etc/shells; echo %D/%F >> /etc/shells
 man/man1/ksh93.1.gz
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/dirs



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403010613.s216Ddfn005848>