From owner-svn-ports-all@FreeBSD.ORG Wed Nov 21 23:00:25 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 75820247; Wed, 21 Nov 2012 23:00:25 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 5B7648FC1D; Wed, 21 Nov 2012 23:00:25 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qALN0PLS047679; Wed, 21 Nov 2012 23:00:25 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qALN0PeE047678; Wed, 21 Nov 2012 23:00:25 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201211212300.qALN0PeE047678@svn.freebsd.org> From: Baptiste Daroussin Date: Wed, 21 Nov 2012 23:00:25 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r307629 - head/x11-toolkits/p5-Wx 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.14 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, 21 Nov 2012 23:00:25 -0000 Author: bapt Date: Wed Nov 21 23:00:24 2012 New Revision: 307629 URL: http://svnweb.freebsd.org/changeset/ports/307629 Log: Convert to new options framework Feature safe: yes Modified: head/x11-toolkits/p5-Wx/Makefile Modified: head/x11-toolkits/p5-Wx/Makefile ============================================================================== --- head/x11-toolkits/p5-Wx/Makefile Wed Nov 21 22:57:36 2012 (r307628) +++ head/x11-toolkits/p5-Wx/Makefile Wed Nov 21 23:00:24 2012 (r307629) @@ -16,7 +16,9 @@ BUILD_DEPENDS= p5-Alien-wxWidgets>=0.25: p5-ExtUtils-XSpp>=0.06:${PORTSDIR}/devel/p5-ExtUtils-XSpp RUN_DEPENDS:= ${BUILD_DEPENDS} -OPTIONS= UNICODE "Build with Unicode support" on +OPTIONS_DEFINE= UNICODE +OPTIONS_DEFAULT= UNICODE +UNICODE_DESC= Build with Unicode support USE_WX= 2.6+ WX_COMPS= wx contrib @@ -26,7 +28,8 @@ CC= ${CXX} CFLAGS+= -pthread -Wno-write-strings MAKE_JOBS_UNSAFE= yes -.if defined(WITH_UNICODE) +.include +.if ${PORT_OPTIONS:MUNICODE} WX_UNICODE= yes .endif @@ -46,7 +49,7 @@ MAN3= Wx::Perl::TextValidator.3 \ Wx::Thread.3 \ Wx.3 -.if defined(WITH_UNICODE) +.if ${PORT_OPTIONS:MUNICODE} pre-configure: @if [ ! "$$(${ALIEN_UNICODE})" ]; then \ ${ECHO_MSG}; \