aboutsummaryrefslogtreecommitdiff
path: root/emulators/visualboyadvance-m/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/visualboyadvance-m/Makefile')
-rw-r--r--emulators/visualboyadvance-m/Makefile15
1 files changed, 12 insertions, 3 deletions
diff --git a/emulators/visualboyadvance-m/Makefile b/emulators/visualboyadvance-m/Makefile
index 80c2451ce785..4e8ff32a025a 100644
--- a/emulators/visualboyadvance-m/Makefile
+++ b/emulators/visualboyadvance-m/Makefile
@@ -30,13 +30,13 @@ USE_GL= gl glu
USE_SDL= sdl
USE_CMAKE= yes
CMAKE_ARGS+= -DVERSION:STRING="${PORTVERSION}" -DSYSCONFDIR:STRING="${PREFIX}/etc"
-SVN_REV= 966
+SVN_REV= 1001
.include <bsd.port.pre.mk>
.if defined(WITH_ASM) && ${ARCH} == "i386"
BUILD_DEPENDS+= as:${PORTSDIR}/devel/binutils
-CMAKE_ARGS+= -DUSE_ASM_CORE=yes -DUSE_ASM_SCALERS=yes
+CMAKE_ARGS+= -DENABLE_ASM_CORE:BOOL=yes -DENABLE_ASM_SCALERS:BOOL=yes
.endif
.if defined(WITH_GVBAM)
@@ -49,7 +49,16 @@ LIB_DEPENDS+= gtkmm-2.4:${PORTSDIR}/x11-toolkits/gtkmm24 \
gdkglextmm-x11-1.2:${PORTSDIR}/x11-toolkits/gtkglextmm
.else
PLIST_SUB+= GVBAM="@comment "
-CMAKE_ARGS+= -DNO_GTK:BOOL=yes
+CMAKE_ARGS+= -DENABLE_GTK:BOOL=no
+.endif
+
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT= yes
+CMAKE_ARGS+= -DENABLE_NLS:BOOL=yes
+PLIST_SUB+= NLS=""
+.else
+CMAKE_ARGS+= -DENABLE_NLS:BOOL=no
+PLIST_SUB+= NLS="@comment "
.endif
post-patch: