Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Nov 2012 23:01:58 +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: r307630 - head/x11-toolkits/p5-Alien-wxWidgets
Message-ID:  <201211212301.qALN1wcA048008@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Wed Nov 21 23:01:58 2012
New Revision: 307630
URL: http://svnweb.freebsd.org/changeset/ports/307630

Log:
  Convert to new options framework
  
  Feature safe:	yes

Modified:
  head/x11-toolkits/p5-Alien-wxWidgets/Makefile

Modified: head/x11-toolkits/p5-Alien-wxWidgets/Makefile
==============================================================================
--- head/x11-toolkits/p5-Alien-wxWidgets/Makefile	Wed Nov 21 23:00:24 2012	(r307629)
+++ head/x11-toolkits/p5-Alien-wxWidgets/Makefile	Wed Nov 21 23:01:58 2012	(r307630)
@@ -13,7 +13,9 @@ COMMENT=	Perl5 module for building, find
 
 BUILD_DEPENDS=	p5-ExtUtils-CBuilder>=0:${PORTSDIR}/devel/p5-ExtUtils-CBuilder
 
-OPTIONS=	UNICODE "Build with Unicode support"    on
+OPTIONS_DEFINE=	UNICODE
+OPTIONS_DEFAULT=	UNICODE
+UNICODE_DESC=	Build with Unicode support
 
 USE_GCC=	any
 USE_WX=		2.6+
@@ -26,7 +28,7 @@ PERL_MODBUILD=	yes
 BUILD_DEPENDS+=	p5-Module-Pluggable>=0:${PORTSDIR}/devel/p5-Module-Pluggable
 .endif
 
-.if defined(WITH_UNICODE)
+.if ${PORT_OPTIONS:MUNICODE}
 WX_UNICODE=	yes
 WX_UNI=		uni_
 CONFIGURE_ARGS+=	--wxWidgets-build=0 --wxWidgets-unicode=1



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