diff options
author | Vladimir Druzenko <vvd@FreeBSD.org> | 2024-08-13 14:31:36 +0000 |
---|---|---|
committer | Vladimir Druzenko <vvd@FreeBSD.org> | 2024-08-13 14:31:36 +0000 |
commit | 577a8353dc6865db743bb1752458cc0aa6a555f3 (patch) | |
tree | 21be4979c444d0776a6a4d81004240616563d460 /emulators | |
parent | 25b37a7bcdcf3e403bdaa4a90049b12b6bf7b9bf (diff) |
emulators/86Box: Improve Makefile
- Require c++11 for default cmake option CPPTHREADS.
- Enable RELEASE build.
- Disable runtime use Discord library - it isn't available for FreeBSD.
- Align to make the Makefile look better.
Approved by: gatekeeper <tiago.gasiba@gmail.com> (maintainer, via Discord)
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/86Box/Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/emulators/86Box/Makefile b/emulators/86Box/Makefile index 896703f5b7a2..5d6db4b4580d 100644 --- a/emulators/86Box/Makefile +++ b/emulators/86Box/Makefile @@ -29,7 +29,7 @@ FLAVOR?= ${FLAVORS:[2]} qt5_PKGNAMESUFFIX= -qt5 qt6_PKGNAMESUFFIX= -qt6 -USES= cmake compiler gnome pkgconfig qmake sdl xorg +USES= cmake compiler:c++11-lang gnome pkgconfig qmake sdl xorg USE_GITHUB= yes USE_GNOME= glib20 USE_SDL= sdl2 @@ -48,14 +48,14 @@ CMAKE_ON= USE_QT6 CXXFLAGS+= -I${LOCALBASE}/include/qt6/QtGui/`pkg-config --modversion Qt6Gui`/QtGui .endif -CMAKE_OFF+= ${CMAKE_OFF_${ARCH}} -CMAKE_OFF_powerpc64le= DYNAREC -CMAKE_ON+= ${CMAKE_ON_${ARCH}} +CMAKE_ON+= RELEASE ${CMAKE_ON_${ARCH}} CMAKE_ON_aarch64= NEW_DYNAREC +CMAKE_OFF= DISCORD ${CMAKE_OFF_${ARCH}} +CMAKE_OFF_powerpc64le= DYNAREC -SUB_FILES= 86Box-install-roms.sh -SUB_LIST= DISTVERSION=${DISTVERSION} \ - DISTVERSIONPREFIX=${DISTVERSIONPREFIX} +SUB_FILES= 86Box-install-roms.sh +SUB_LIST= DISTVERSION=${DISTVERSION} \ + DISTVERSIONPREFIX=${DISTVERSIONPREFIX} OPTIONS_DEFINE= NLS WAYLAND OPTIONS_DEFAULT= WAYLAND |