Switch to wx 2.8 (unicode)

This commit is contained in:
Baptiste Daroussin 2014-03-24 12:55:40 +00:00
parent 22fe874022
commit 27da628aa1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=348988

View file

@ -3,43 +3,29 @@
PORTNAME= panoglview
PORTVERSION= 0.2.2
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= SF/hugin/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= ii@any.com.ru
COMMENT= Panorama viewer using OpenGL
USES= gmake
GNU_CONFIGURE= yes
CONFIGURE_ENV= WX_CONFIG_NAME=${WX_CONFIG} \
PATH="$${PATH}:${LOCALBASE}/bin"
LDFLAGS+= ${PTHREAD_LIBS} -L${LOCALBASE}/lib
CFLAGS+= ${PTHREAD_CFLAGS} -I${LOCALBASE}/include
CXXFLAGS+= ${PTHREAD_CFLAGS} -I${LOCALBASE}/include -ftemplate-depth-64
USE_GMAKE= yes
CONFIGURE_ARGS= --with-unicode
USE_WX= 2.6+
USE_WX= 2.8
WX_UNICODE= yes
WX_COMPS= wx
WX_CONF_ARGS= relative
PLIST_FILES= bin/panoglview
OPTIONS_DEFINE= UNICODE
OPTIONS_DEFAULT= UNICODE
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${ARCH} == "powerpc"
BROKEN= Does not configure on powerpc
.endif
.if ${PORT_OPTIONS:MUNICODE}
WX_UNICODE= yes
CONFIGURE_ARGS+= --with-unicode
.else
.undef WX_UNICODE
CONFIGURE_ARGS+= --without-unicode
.endif
BROKEN_powerpc= Does not configure on powerpc
.include <bsd.port.mk>