Changeset View
Changeset View
Standalone View
Standalone View
emulators/rpcs3/Makefile
Show All 38 Lines | USES= cmake compiler:c++17-lang gl iconv:wchar_t localbase:ldflags \ | ||||
openal:soft pkgconfig qt:5 xorg | openal:soft pkgconfig qt:5 xorg | ||||
USE_GL= gl glew | USE_GL= gl glew | ||||
USE_QT= qmake_build buildtools_build core concurrent dbus declarative gui network widgets | USE_QT= qmake_build buildtools_build core concurrent dbus declarative gui network widgets | ||||
USE_XORG= x11 | USE_XORG= x11 | ||||
CMAKE_ON= CMAKE_SKIP_RPATH USE_SYSTEM_FFMPEG USE_SYSTEM_LIBPNG | CMAKE_ON= CMAKE_SKIP_RPATH USE_SYSTEM_FFMPEG USE_SYSTEM_LIBPNG | ||||
CMAKE_OFF= USE_NATIVE_INSTRUCTIONS | CMAKE_OFF= USE_NATIVE_INSTRUCTIONS | ||||
LDFLAGS+= -Wl,--as-needed # GLU | LDFLAGS+= -Wl,--as-needed # GLU | ||||
# XXX Drop after FreeBSD 12.0 EOL | |||||
.if exists(/usr/lib/clang/6.0.1) | |||||
LLD_UNSAFE= yes # XXX ports/219089 | |||||
.endif | |||||
# XXX Remove after FreeBSD 11.2/12.0 reach EOL i.e., around 2020-02-01 | # XXX Remove after FreeBSD 11.2/12.0 reach EOL i.e., around 2020-02-01 | ||||
.if make(makesum) || (!exists(/usr/include/c++/v1/charconv) && exists(/usr/lib/libc++.so)) | .if make(makesum) || (!exists(/usr/include/c++/v1/charconv) && exists(/usr/lib/libc++.so)) | ||||
MASTER_SITES+= https://releases.llvm.org/${LLVM_VER}/:libcxx | MASTER_SITES+= https://releases.llvm.org/${LLVM_VER}/:libcxx | ||||
DISTFILES+= libcxx-${LLVM_VER}.src.tar.xz:libcxx | DISTFILES+= libcxx-${LLVM_VER}.src.tar.xz:libcxx | ||||
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-no-cotire | EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-no-cotire | ||||
jbeich: Looks out of scope (increases risk) and incomplete (distinfo not updated and files/extra-patch… | |||||
CXXFLAGS+= -nostdinc++ -isystem${WRKDIR}/libcxx-${LLVM_VER}.src/include | CXXFLAGS+= -nostdinc++ -isystem${WRKDIR}/libcxx-${LLVM_VER}.src/include | ||||
LLVM_VER= 8.0.0 # same as FreeBSD 11.3 | LLVM_VER= 8.0.0 # same as FreeBSD 11.3 | ||||
.endif | .endif | ||||
OPTIONS_DEFINE= ALSA EVDEV FAUDIO LLVM PULSEAUDIO VULKAN | OPTIONS_DEFINE= ALSA EVDEV FAUDIO LLVM PULSEAUDIO VULKAN | ||||
OPTIONS_DEFAULT=FAUDIO LLVM VULKAN | OPTIONS_DEFAULT=FAUDIO LLVM VULKAN | ||||
ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib | ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib | ||||
Show All 30 Lines |
Looks out of scope (increases risk) and incomplete (distinfo not updated and files/extra-patch-no-cotire not removed). libc++ workaround deprecation is obvious, so don't waste time unless you want to work on general post-EOL cleanup of dead code.