Date: Wed, 21 Nov 2012 23:00:25 +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: r307629 - head/x11-toolkits/p5-Wx Message-ID: <201211212300.qALN0PeE047678@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.options.mk> +.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}; \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211212300.qALN0PeE047678>