diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-11-21 23:00:24 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-11-21 23:00:24 +0000 |
commit | 21f89c4be1f73515f256cd9ca6714b5f1cc4f137 (patch) | |
tree | 745301a26f44d60c1492b9dc642a979e9fdffef1 /x11-toolkits | |
parent | f2ed3e1fb669438803de5e4dbf0a659f2c804c14 (diff) | |
download | ports-21f89c4be1f73515f256cd9ca6714b5f1cc4f137.tar.gz ports-21f89c4be1f73515f256cd9ca6714b5f1cc4f137.zip |
Notes
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/p5-Wx/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/x11-toolkits/p5-Wx/Makefile b/x11-toolkits/p5-Wx/Makefile index 80b43af02ab7..5ab7417a69b9 100644 --- a/x11-toolkits/p5-Wx/Makefile +++ b/x11-toolkits/p5-Wx/Makefile @@ -16,7 +16,9 @@ BUILD_DEPENDS= p5-Alien-wxWidgets>=0.25:${PORTSDIR}/x11-toolkits/p5-Alien-wxWidg 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}; \ |