Index: head/archivers/gtar/files/patch-tests_multiv01.at =================================================================== --- head/archivers/gtar/files/patch-tests_multiv01.at (revision 563569) +++ head/archivers/gtar/files/patch-tests_multiv01.at (nonexistent) @@ -1,15 +0,0 @@ -# Remove after FreeBSD 12.1 EOL -cmp(1) Capsicum error if stdin closed -https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234885 - ---- tests/multiv01.at.orig 2019-01-11 20:11:26 UTC -+++ tests/multiv01.at -@@ -28,7 +28,7 @@ AT_KEYWORDS([multivolume multiv multiv01 chdir]) - # TRUSS=strace - - AT_TAR_CHECK([ --exec <&- -+#exec <&- - genfile --length 7168 --file file1 - - for block in " 1" " 2" " 3" " 4" " 5" " 6" " 7" " 8" \ Property changes on: head/archivers/gtar/files/patch-tests_multiv01.at ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/archivers/gtar/files/patch-tests_multiv03.at =================================================================== --- head/archivers/gtar/files/patch-tests_multiv03.at (revision 563569) +++ head/archivers/gtar/files/patch-tests_multiv03.at (nonexistent) @@ -1,15 +0,0 @@ -# Remove after FreeBSD 12.1 EOL -cmp(1) Capsicum error if stdin closed -https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234885 - ---- tests/multiv03.at.orig 2019-01-11 20:11:26 UTC -+++ tests/multiv03.at -@@ -47,7 +47,7 @@ EOF - - genfile --length 15360 --file $AFILE - --exec <&- -+#exec <&- - - tar -M -L 10 -c -f arch.1 -f arch.2 $AFILE || exit 1 - tar -tM -f arch.1 -f arch.2 || exit 1 Property changes on: head/archivers/gtar/files/patch-tests_multiv03.at ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/archivers/gtar/files/patch-tests_multiv05.at =================================================================== --- head/archivers/gtar/files/patch-tests_multiv05.at (revision 563569) +++ head/archivers/gtar/files/patch-tests_multiv05.at (nonexistent) @@ -1,15 +0,0 @@ -# Remove after FreeBSD 12.1 EOL -cmp(1) Capsicum error if stdin closed -https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234885 - ---- tests/multiv05.at.orig 2019-01-11 20:11:26 UTC -+++ tests/multiv05.at -@@ -28,7 +28,7 @@ AT_KEYWORDS([multivolume multiv multiv05 sync]) - m4_pushdef([FILELIST],[jeden,dwa,trzy,cztery,piec,szesc]) - - AT_TAR_CHECK([ --exec <&- -+#exec <&- - - m4_foreach([f], - [FILELIST], Property changes on: head/archivers/gtar/files/patch-tests_multiv05.at ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/comms/usbmuxd/files/patch-src_usb.c =================================================================== --- head/comms/usbmuxd/files/patch-src_usb.c (revision 563569) +++ head/comms/usbmuxd/files/patch-src_usb.c (nonexistent) @@ -1,17 +0,0 @@ -libusb_has_capability() was implemented in r361977 and is only available on: -FreeBSD >= 1104501, 1201518, 1300098 -However, libusb in all supported versions of FreeBSD supports hotplug events. - -This patch can be safely removed after 11.4 and 12.1 EOL. - ---- src/usb.c.orig 2021-01-21 10:10:40 UTC -+++ src/usb.c -@@ -815,7 +815,7 @@ int usb_init(void) - collection_init(&device_list); - - #ifdef HAVE_LIBUSB_HOTPLUG_API -- if (libusb_has_capability(LIBUSB_CAP_HAS_HOTPLUG)) { -+ if (1) { - usbmuxd_log(LL_INFO, "Registering for libusb hotplug events"); - res = libusb_hotplug_register_callback(NULL, LIBUSB_HOTPLUG_EVENT_DEVICE_ARRIVED | LIBUSB_HOTPLUG_EVENT_DEVICE_LEFT, LIBUSB_HOTPLUG_ENUMERATE, VID_APPLE, LIBUSB_HOTPLUG_MATCH_ANY, 0, usb_hotplug_cb, NULL, &usb_hotplug_cb_handle); - if (res == LIBUSB_SUCCESS) { Property changes on: head/comms/usbmuxd/files/patch-src_usb.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/emulators/i386-wine/Makefile.amd64 =================================================================== --- head/emulators/i386-wine/Makefile.amd64 (revision 563569) +++ head/emulators/i386-wine/Makefile.amd64 (revision 563570) @@ -1,53 +1,53 @@ # Created by: David Naylor # $FreeBSD$ DISTVERSION= 5.0 PORTEPOCH= 1 MASTER_SITES= LOCAL/salvadore/i386-wine/${DIST_SUBDIR}/ DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${DISTVERSION},${PORTEPOCH} DIST_SUBDIR= FreeBSD:${OSREL:C/\..*//}:amd64 LICENSE= LGPL21 LGPL3 LICENSE_COMB= dual LICENSE_FILE= ${WRKDIR}/LICENSE EXTRACT_AFTER_ARGS= -C / --exclude +COMPACT_MANIFEST --exclude +MANIFEST \ --exclude +MTREE_DIRS --exclude share/licenses/'*' \ --exclude libdata/ldconfig32/${PKGNAMEPREFIX}${PORTNAME} \ -s '|/usr/local|${STAGEDIR}${PREFIX}|gs' NO_BUILD= yes SUB_FILES= pkg-message USE_LDCONFIG32= ${PREFIX}/lib32 ${PREFIX}/lib32/wine USES= desktop-file-utils tar:txz BUNDLE_LIBS= yes PKGMESSAGE= ${WRKDIR}/pkg-message PORTSCOUT= limitw:1,even .for osrel in 11 12 13 .if ${OSREL:C/\..*//} == ${osrel} PLIST_SUB+= OSREL${osrel}="" PLIST_SUB+= NOOSREL${osrel}="@comment " .else PLIST_SUB+= OSREL${osrel}="@comment " PLIST_SUB+= NOOSREL${osrel}="" .endif .endfor -.if ${OPSYS} != FreeBSD || (!(${OSVERSION} >= 1104000 && ${OSVERSION} < 1200000) && !(${OSVERSION} >= 1201000 && ${OSVERSION} < 1300000) && !(${OSVERSION} >= 1300084 && ${OSVERSION} < 1400000)) -IGNORE= binaries compiled for FreeBSD 11.4+, 12.1+ and 13.0-CURRENT (OSVERSION >= 1300084) only +.if ${OPSYS} != FreeBSD || (!(${OSVERSION} >= 1104000 && ${OSVERSION} < 1200000) && !(${OSVERSION} >= 1202000 && ${OSVERSION} < 1300000) && !(${OSVERSION} >= 1300084 && ${OSVERSION} < 1400000)) +IGNORE= binaries compiled for FreeBSD 11.4+, 12.2+ and 13.0+ only .endif OPTIONS_DEFINE= GECKO MONO GECKO_DESC= Bundle Gecko MSI package for Wine MONO_DESC= Bundle Mono MSI package for Wine GECKO_RUN_DEPENDS= ${DATADIR}/gecko/wine-gecko-2.47.1-x86.msi:emulators/wine-gecko MONO_RUN_DEPENDS= ${DATADIR}/mono/wine-mono-4.9.4.msi:emulators/wine-mono do-extract: @${RM} -r ${WRKDIR} @${MKDIR} ${WRKDIR} ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${EXTRACT_ONLY} -C ${WRKDIR} --include '/usr/local/share/licenses/${DISTNAME}/LICENSE' -s '|/usr/local/share/licenses/${DISTNAME}/||g' do-install: ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${EXTRACT_ONLY} ${EXTRACT_AFTER_ARGS} Index: head/emulators/i386-wine-devel/Makefile.amd64 =================================================================== --- head/emulators/i386-wine-devel/Makefile.amd64 (revision 563569) +++ head/emulators/i386-wine-devel/Makefile.amd64 (revision 563570) @@ -1,52 +1,52 @@ # Created by: David Naylor # $FreeBSD$ DISTVERSION= 5.8 PORTEPOCH= 1 MASTER_SITES= LOCAL/salvadore/i386-wine-devel/${DIST_SUBDIR}/ DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}-${PKGVERSION} DIST_SUBDIR= FreeBSD:${OSREL:C/\..*//}:amd64 LICENSE= LGPL21 LGPL3 LICENSE_COMB= dual LICENSE_FILE= ${WRKDIR}/LICENSE EXTRACT_AFTER_ARGS= -C / --exclude +COMPACT_MANIFEST --exclude +MANIFEST \ --exclude +MTREE_DIRS --exclude share/licenses/'*' \ --exclude libdata/ldconfig32/${PKGNAMEPREFIX}${PORTNAME} \ -s '|/usr/local|${STAGEDIR}${PREFIX}|gs' NO_BUILD= yes SUB_FILES= pkg-message USE_LDCONFIG32= ${PREFIX}/lib32 ${PREFIX}/lib32/wine USES= desktop-file-utils tar:txz BUNDLE_LIBS= yes PKGMESSAGE= ${WRKDIR}/pkg-message .for osrel in 11 12 13 .if ${OSREL:C/\..*//} == ${osrel} PLIST_SUB+= OSREL${osrel}="" PLIST_SUB+= NOOSREL${osrel}="@comment " .else PLIST_SUB+= OSREL${osrel}="@comment " PLIST_SUB+= NOOSREL${osrel}="" .endif .endfor -.if ${OPSYS} != FreeBSD || (!(${OSVERSION} >= 1104000 && ${OSVERSION} < 1200000) && !(${OSVERSION} >= 1201000 && ${OSVERSION} < 1300000) && !(${OSVERSION} >= 1300084 && ${OSVERSION} < 1400000)) -IGNORE= binaries compiled for FreeBSD 11.4+, 12.1+ and 13.0-CURRENT (OSVERSION >= 1300084) only +.if ${OPSYS} != FreeBSD || (!(${OSVERSION} >= 1104000 && ${OSVERSION} < 1200000) && !(${OSVERSION} >= 1202000 && ${OSVERSION} < 1300000) && !(${OSVERSION} >= 1300084 && ${OSVERSION} < 1400000)) +IGNORE= binaries compiled for FreeBSD 11.4+, 12.2+ and 13.0+ only .endif OPTIONS_DEFINE= GECKO MONO GECKO_DESC= Bundle Gecko MSI package for Wine MONO_DESC= Bundle Mono MSI package for Wine GECKO_RUN_DEPENDS= ${DATADIR}/gecko/wine-gecko-2.47.1-x86.msi:emulators/wine-gecko-devel MONO_RUN_DEPENDS= ${DATADIR}/mono/wine-mono-4.9.4.msi:emulators/wine-mono-devel do-extract: @${RM} -r ${WRKDIR} @${MKDIR} ${WRKDIR} ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${EXTRACT_ONLY} -C ${WRKDIR} --include '/usr/local/share/licenses/[^/]*/LICENSE' -s '|/usr/local/share/licenses/[^/]*/||g' do-install: ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${EXTRACT_ONLY} ${EXTRACT_AFTER_ARGS} Index: head/emulators/rpcs3/Makefile =================================================================== --- head/emulators/rpcs3/Makefile (revision 563569) +++ head/emulators/rpcs3/Makefile (revision 563570) @@ -1,103 +1,95 @@ # $FreeBSD$ PORTNAME= rpcs3 DISTVERSIONPREFIX= v DISTVERSION= 0.0.14-11644 # git rev-list --count HEAD DISTVERSIONSUFFIX= -gbb2cc196a CATEGORIES= emulators MAINTAINER= jbeich@FreeBSD.org COMMENT= PS3 emulator/debugger LICENSE= APACHE20 BSD3CLAUSE BSL GPLv2 MIT ZLIB LICENSE_COMB= multi LICENSE_FILE_BSD3CLAUSE=${WRKSRC_cereal}/LICENSE LICENSE_FILE_BSL= ${WRKSRC_span}/LICENSE_1_0.txt LICENSE_FILE_MIT= ${WRKSRC_pugixml}/LICENSE.md LICENSE_FILE_ZLIB= ${WRKSRC_asmjit}/LICENSE.md LIB_DEPENDS= libcurl.so:ftp/curl \ libpng.so:graphics/png \ libavcodec.so:multimedia/ffmpeg ONLY_FOR_ARCHS= amd64 ONLY_FOR_ARCHS_REASON= requires int128 and SSE2 USE_GITHUB= yes GH_ACCOUNT= RPCS3 GH_TUPLE= RPCS3:hidapi:hidapi-0.8.0-rc1-28-g8961cf8:hidapi/3rdparty/hidapi \ RPCS3:llvm-mirror:716bb292ba3:llvm/llvm \ Cyan4973:xxHash:v0.8.0:xxHash/3rdparty/xxHash \ FNA-XNA:FAudio:20.05:FAudio/3rdparty/FAudio \ google:flatbuffers:v1.11.0:flatbuffers/3rdparty/flatbuffers \ jbeder:yaml-cpp:yaml-cpp-0.6.3-30-g6a211f0:yamlcpp/3rdparty/yaml-cpp \ kobalicek:asmjit:723f585:asmjit/asmjit \ KhronosGroup:SPIRV-Headers:1.5.3.reservations1:spirv_headers/Vulkan/spirv-headers \ KhronosGroup:SPIRV-Tools:v2020.4:spirv_tools/Vulkan/spirv-tools \ KhronosGroup:glslang:8.13.3743-225-g517f39ee:glslang/Vulkan/glslang \ tcbrindle:span:9d7559a:span/3rdparty/span \ USCiLab:cereal:v1.3.0-5-g60c69df9:cereal/3rdparty/cereal \ wolfSSL:wolfssl:v4.5.0-stable-80-g39b544860:wolfssl/3rdparty/wolfssl \ zeux:pugixml:v1.9-51-g8bf806c:pugixml/3rdparty/pugixml USES= cmake compiler:c++17-lang gl iconv:wchar_t localbase:ldflags \ openal:soft pkgconfig python:3.4+,build qt:5 xorg USE_GL= gl glew USE_QT= qmake_build buildtools_build core concurrent dbus gui widgets USE_XORG= x11 CMAKE_ON= CMAKE_SKIP_RPATH USE_SYSTEM_CURL USE_SYSTEM_FFMPEG USE_SYSTEM_LIBPNG CMAKE_OFF= USE_NATIVE_INSTRUCTIONS USE_PRECOMPILED_HEADERS LDFLAGS+= -Wl,--as-needed # GLU OPTIONS_DEFINE= ALSA EVDEV FAUDIO PULSEAUDIO VULKAN OPTIONS_DEFAULT=EVDEV FAUDIO VULKAN ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_RUN_DEPENDS= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:audio/alsa-plugins ALSA_CMAKE_BOOL= USE_ALSA EVDEV_DESC= libevdev-based joystick support EVDEV_CMAKE_BOOL= USE_LIBEVDEV EVDEV_BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto EVDEV_LIB_DEPENDS= libevdev.so:devel/libevdev FAUDIO_DESC= FAudio audio support FAUDIO_USES= sdl FAUDIO_USE= SDL=sdl2 FAUDIO_CMAKE_BOOL= USE_FAUDIO PULSEAUDIO_LIB_DEPENDS= libpulse-simple.so:audio/pulseaudio PULSEAUDIO_CMAKE_BOOL= USE_PULSE VULKAN_DESC= Vulkan renderer VULKAN_BUILD_DEPENDS= ${LOCALBASE}/include/vulkan/vulkan.h:graphics/vulkan-headers VULKAN_LIB_DEPENDS= libvulkan.so:graphics/vulkan-loader VULKAN_CMAKE_BOOL= USE_VULKAN post-patch: @${REINPLACE_CMD} -e '/GIT_BRANCH/s/local_build/master/' \ -e '/GIT_FULL_BRANCH/s/local_build/${GH_ACCOUNT}\/${GH_PROJECT}\/master/' \ -e '/GIT_VERSION/s/local_build/${GH_TAGNAME:C/[^-]*-//}/' \ ${WRKSRC}/${PORTNAME}/git-version.cmake .include # Ignore Mk/bsd.default-versions.mk but respect make.conf(5) .if !defined(DEFAULT_VERSIONS) || ! ${DEFAULT_VERSIONS:Mllvm*} LLVM_DEFAULT= 11 # bump if not latest release .endif BUILD_DEPENDS+= clang++${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} USES:= ${USES:Ncompiler*} CC= clang${LLVM_DEFAULT} CXX= clang++${LLVM_DEFAULT} CPP= clang-cpp${LLVM_DEFAULT} -# XXX Drop after FreeBSD 12.1 EOL -.if make(makesum) || (!exists(/usr/include/c++/v1/fenv.h) && exists(/usr/lib/libc++.so)) -MASTER_SITES+= https://github.com/llvm/llvm-project/releases/download/llvmorg-${LLVM_VER}/:libcxx -DISTFILES+= libcxx-${LLVM_VER}.src.tar.xz:libcxx -CXXFLAGS+= -nostdinc++ -isystem${WRKDIR}/libcxx-${LLVM_VER}.src/include -LLVM_VER= 10.0.1 -.endif - .include Index: head/emulators/yuzu/Makefile =================================================================== --- head/emulators/yuzu/Makefile (revision 563569) +++ head/emulators/yuzu/Makefile (revision 563570) @@ -1,117 +1,96 @@ # $FreeBSD$ PORTNAME= yuzu PORTVERSION= s20201218 PORTREVISION?= 0 CATEGORIES= emulators PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES+= 905e8016a04e.patch:-p1 # https://github.com/yuzu-emu/yuzu/pull/1340 MAINTAINER= jbeich@FreeBSD.org COMMENT= Nintendo Switch emulator/debugger LICENSE= APACHE20 BSD3CLAUSE GPLv2+ ISCL LGPL21+ LGPL3+ MIT UNLICENSE LICENSE_COMB= multi LICENSE_FILE_BSD3CLAUSE=${WRKSRC}/externals/inih/inih/LICENSE.txt LICENSE_FILE_GPLv2+ = ${WRKSRC}/license.txt LICENSE_FILE_ISCL= ${WRKSRC}/externals/cubeb/LICENSE LICENSE_FILE_LGPL21+ = ${_LICENSE_STORE}/LGPL21 # soundtouch LICENSE_FILE_LGPL3+ = ${_LICENSE_STORE}/LGPL3 # sirit LICENSE_FILE_MIT= ${WRKSRC}/externals/sirit/externals/SPIRV-Headers/LICENSE ONLY_FOR_ARCHS= aarch64 amd64 powerpc64 ONLY_FOR_ARCHS_REASON= requires int128 BUILD_DEPENDS= catch>0:devel/catch \ nlohmann-json>0:devel/nlohmann-json LIB_DEPENDS= liblz4.so:archivers/liblz4 \ libzstd.so:archivers/zstd \ libopus.so:audio/opus \ libboost_context.so:devel/boost-libs \ libfmt.so:devel/libfmt \ libavcodec.so:multimedia/ffmpeg USE_GITHUB= yes GH_ACCOUNT= yuzu-emu GH_TAGNAME= 0b47f7a46 GH_TUPLE= DarkLordZach:mbedtls:a280e60:mbedtls/externals/mbedtls \ KhronosGroup:SPIRV-Headers:2c51218:SPIRV_Headers/externals/sirit/externals/SPIRV-Headers \ KhronosGroup:Vulkan-Headers:v1.2.145:Vulkan_Headers/externals/Vulkan-Headers \ MerryMage:dynarmic:r3-242-g0e1112b7:dynarmic/externals/dynarmic \ ReinUsesLisp:sirit:eefca56:sirit/externals/sirit \ arsenm:sanitizers-cmake:aab6948:sanitizers_cmake/externals/cubeb/cmake/sanitizers-cmake \ citra-emu:ext-soundtouch:060181e:soundtouch/externals/soundtouch \ herumi:xbyak:v5.96:xbyak/externals/xbyak \ nih-at:libzip:rel-1-5-2-93-g89bd6d63:libzip/externals/libzip/libzip \ kinetiknz:cubeb:cubeb-0.2-1291-g5c2cf26:cubeb/externals/cubeb \ benhoyt:inih:r52:inih/externals/inih/inih USES= cmake compiler:c++17-lang localbase:ldflags sdl ssl USE_SDL= sdl2 LDFLAGS+= -Wl,--as-needed # Qt5Network TEST_TARGET= test OPTIONS_DEFINE= ALSA PULSEAUDIO JACK SNDIO VULKAN OPTIONS_DEFAULT=PULSEAUDIO JACK SNDIO VULKAN OPTIONS_MULTI= GUI OPTIONS_MULTI_GUI= QT5 SDL OPTIONS_SLAVE?= SDL OPTIONS_EXCLUDE:= ${OPTIONS_MULTI_GUI} ALSA_BUILD_DEPENDS= alsa-lib>0:audio/alsa-lib ALSA_CMAKE_BOOL= USE_ALSA JACK_BUILD_DEPENDS= jackit>0:audio/jack JACK_CMAKE_BOOL= USE_JACK PULSEAUDIO_BUILD_DEPENDS=pulseaudio>0:audio/pulseaudio PULSEAUDIO_CMAKE_BOOL= USE_PULSE SNDIO_BUILD_DEPENDS= sndio>0:audio/sndio SNDIO_CMAKE_BOOL= USE_SNDIO SDL_CMAKE_BOOL= ENABLE_SDL2 SDL_PLIST_FILES=bin/${PORTNAME}-cmd \ bin/${PORTNAME}-tester QT5_USES= desktop-file-utils qt:5 shared-mime-info QT5_USE= QT=qmake_build,buildtools_build,linguisttools_build,concurrent_build,core,gui,webengine,widgets QT5_CMAKE_BOOL= ENABLE_QT ENABLE_QT_TRANSLATION YUZU_USE_QT_WEB_ENGINE QT5_PLIST_FILES=bin/${PORTNAME} \ share/applications/${PORTNAME}.desktop \ share/icons/hicolor/scalable/apps/${PORTNAME}.svg \ share/mime/packages/${PORTNAME}.xml VULKAN_DESC= Vulkan renderer VULKAN_RUN_DEPENDS= ${LOCALBASE}/lib/libvulkan.so:graphics/vulkan-loader post-patch: @${REINPLACE_CMD} -e '/check_submodules_present()/d' \ ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e 's/@GIT_BRANCH@/master/' \ -e 's/@GIT_DESC@/${GH_TAGNAME}/' \ ${WRKSRC}/src/common/scm_rev.cpp.in -.include - -# XXX Drop after FreeBSD 12.1 EOL -.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} < 100 -. if ${LLVM_DEFAULT:C/[1-5]./&0/:S,-devel,990,} < 100 -LLVM_DEFAULT= 10 -. endif -BUILD_DEPENDS+= clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} -CC= clang${LLVM_DEFAULT} -CXX= clang++${LLVM_DEFAULT} -CPP= clang-cpp${LLVM_DEFAULT} -.endif - -# XXX Drop after FreeBSD 12.1 EOL -.if make(makesum) || (!exists(/usr/include/c++/v1/fenv.h) && exists(/usr/lib/libc++.so)) -MASTER_SITES+= https://github.com/llvm/llvm-project/releases/download/llvmorg-${LLVM_VER}/:libcxx -DISTFILES+= libcxx-${LLVM_VER}.src.tar.xz:libcxx -CXXFLAGS+= -nostdinc++ -isystem${WRKDIR}/libcxx-${LLVM_VER}.src/include -LLVM_VER= 10.0.1 -.endif - -.include +.include Index: head/graphics/linux-c7-libdrm/Makefile =================================================================== --- head/graphics/linux-c7-libdrm/Makefile (revision 563569) +++ head/graphics/linux-c7-libdrm/Makefile (revision 563570) @@ -1,34 +1,33 @@ # $FreeBSD$ PORTNAME= libdrm PORTVERSION= 2.4.97 DISTVERSIONSUFFIX= -2.el7 CATEGORIES= graphics linux MAINTAINER= emulation@FreeBSD.org COMMENT= Interface to kernel Direct Rendering Module (Linux CentOS ${LINUX_DIST_VER}) USES= linux:c7 USE_LDCONFIG= yes USE_LINUX= libpciaccess USE_LINUX_RPM= yes DESCR= ${.CURDIR}/../${PORTNAME}/pkg-descr OPTIONS_DEFINE= DOCS .include .if ${OPSYS} == FreeBSD && \ - ((${OSVERSION} >= 1200000 && ${OSVERSION} < 1201501) \ - || (${OSVERSION} >= 1300000 && ${OSVERSION} < 1300048)) + (${OSVERSION} >= 1300000 && ${OSVERSION} < 1300048) PORTVERSION= 2.4.91 DISTVERSIONSUFFIX= -3.el7 LINUX_DIST_VER= 7.6.1810 post-install: ${MV} ${STAGEDIR}${DOCSDIR}/README ${STAGEDIR}${DOCSDIR}/README.rst .endif .include Index: head/graphics/rawtherapee/Makefile =================================================================== --- head/graphics/rawtherapee/Makefile (revision 563569) +++ head/graphics/rawtherapee/Makefile (revision 563570) @@ -1,213 +1,213 @@ # Created by: stas # $FreeBSD$ PORTNAME= rawtherapee PORTVERSION= 5.8 PORTREVISION= 9 CATEGORIES= graphics MASTER_SITES= https://rawtherapee.com/shared/source/ \ LOCAL/mandree/ MAINTAINER= mandree@FreeBSD.org COMMENT= Powerful RAW image processing application LICENSE= GPLv3 LIB_DEPENDS= \ liblensfun.so:graphics/lensfun \ libcanberra-gtk.so:audio/libcanberra \ libcanberra-gtk3.so:audio/libcanberra-gtk3 \ libexpat.so:textproc/expat2 \ libfftw3.so:math/fftw3 \ libfftw3f.so:math/fftw3-float \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libiptcdata.so:graphics/libiptcdata \ liblcms2.so:graphics/lcms2 \ libpng.so:graphics/png \ libsigc-2.0.so:devel/libsigc++20 \ libtiff.so:graphics/tiff USES= cmake desktop-file-utils compiler:gcc-c++11-lib gnome \ jpeg localbase:ldflags pkgconfig tar:xz DOS2UNIX_REGEX= .*\.(cc|h) # Binutils required for LTO (base ar/nm/ld/ranlib don't work) USE_BINUTILS= yes # As of 2019-09-29, this port is known to be miscompiled by clang90 -# (SIGSEGV or SIBGUS) and 12.1's base clang. +# (SIGSEGV or SIBGUS). # So we shall stick to a modern GCC for now, # XXX FIXME note that rawtherapee is somewhat sensitive # versus compiler details so we may need to pin GCC 9.x # or a version range. USE_GCC= yes USE_GNOME= gtkmm30 librsvg2 INSTALLS_ICONS= yes _LTO_FLAGS= -flto=${MAKE_JOBS_NUMBER} # gcc needs -flto=${MAKE_JOBS_NUMBER} for parallel link (fixed in GCC 10?) # and does not understand -flto=thin # # llvm/clang needs -flto=thin and will automatically parallelize the link # Fix : # 11.x has binutils that don't accept a --plugin option, # and gcc-ar9 appears to grab those, so make sure that USE_BINUTILS # override those in /usr/bin which usually is first in the PATH, # before ${LOCALBASE}/bin. # (For some reason, poudriere does not trigger this.) BINARY_ALIAS+= ar=${AR} ranlib=${RANLIB} # _AR= ${CC:S/gcc/gcc-ar/} _RANLIB= ${CC:S/gcc/gcc-ranlib/} CMAKE_ARGS+= -DDOCDIR="${DOCSDIR}" \ -DCREDITSDIR="${DOCSDIR}" \ -DLICENCEDIR="${DOCSDIR}" \ -DDESKTOPDIR="${DESKTOPDIR}" \ -DDATADIR="${DATADIR}" \ -DCACHE_NAME_SUFFIX="" \ -Wno-dev \ -DCMAKE_AR:FILEPATH=${_AR} \ -DCMAKE_RANLIB:FILEPATH=${_RANLIB} \ -DCMAKE_POLICY_DEFAULT_CMP0056:STRING=NEW # 3.4.x: CMAKE_EXE_LINKER_FLAGS is not passed to TRY_COMPILE by default # any more. The CMP0056 policy must be explicitly set to NEW to ensure # linker flags are passed. Else -lomp is not found with clang. # See: https://cmake.org/cmake/help/v3.4/policy/CMP0056.html CFLAGS+= -I${LOCALBASE}/include -fPIC ${_LTO_FLAGS} ${_OPT_FLAGS} LDFLAGS+= -Wl,--as-needed -lpthread ${_LTO_FLAGS} ${_OPT_FLAGS} .if defined(PACKAGE_BUILDING) && empty(CFLAGS:M-march*) && (${ARCH} == i386 || ${ARCH} == amd64 || ${ARCH} == aarch64) # this gets translated to -mtune=generic, see ${WRKSRC}/ProcessorTargets.cmake # and as of GCC 8.3, it appears that among FreeBSD's supported architectures, # only the three listed above support this GCC option. CMAKE_ARGS+= -DPROC_TARGET_NUMBER="1" .endif # XXX FIXME - check this every few months, cmake might be fixed one day .if "${WITH_CCACHE_BUILD}" == "yes" && !defined(NO_CCACHE) CMAKE_ARGS+= -DCMAKE_C_COMPILER_LAUNCHER=${CCACHE_BIN} \ -DCMAKE_CXX_COMPILER_LAUNCHER=${CCACHE_BIN} .endif OPTIONS_DEFINE= DOCS NATIVE OPTIONS_DEFINE_amd64= OPENMP OPTIONS_DEFINE_i386= OPENMP OPTIONS_DEFAULT= OPENMP NATIVE_DESC= Use -march=native (avoid for generic packages!) OPENMP_DESC= Enable OpenMP parallel processing (i386/amd64 only) OPENMP_CMAKE_BOOL= OPTION_OMP .include # ------------------------------------------------------------------- .if (${OPSYS} == FreeBSD) && (${OSVERSION} < 1200000) # can't save 16-bit TIFF on FreeBSD 11.3 and 11.4 i386 # "TIFFWriteDirectoryTagIfdIfd8Array: Attempt to write value # larger than 0xFFFFFFFF in Classic TIFF file" # # And no, the maintainer is not going to spend any time on it # unless there is a tested proven well-integrated patch offered. # # Tier-2 only supported on the latest stable FreeBSD release. ONLY_FOR_ARCHS= amd64 ONLY_FOR_ARCHS_REASON=On i386, rawtherapee malfunctions under FreeBSD 11.x - upgrade to 12.x .endif .if (${OPSYS} == FreeBSD) && (${OSVERSION} >= 1300000) # don't waste everybody's time with Tier-2 and moving targets. # might add ARM64 later on if they are established by the # time FreeBSD 13 is out. ONLY_FOR_ARCHS= amd64 ONLY_FOR_ARCHS_REASON=Only amd64 is supported on non-released FreeBSD versions. .endif .if ${PORT_OPTIONS:MNATIVE} CMAKE_ARGS+= -DPROC_TARGET_NUMBER="2" .endif .if !empty(PORT_OPTIONS:MOPENMP) && !empty(OPTIONS_DEFINE:MOPENMP) OPENMP_FLAGS= -lm -lomp LDFLAGS+= ${OPENMP_FLAGS} .endif .if defined(WITH_DEBUG) STRIP= CMAKE_BUILD_TYPE= None # Arch Linux packaging trick to avoid cmake overriding our flags _OPT_FLAGS= -ggdb3 -Og # -Og is GCC-specific, use -O1 for clang .else _OPT_FLAGS= -O3 -funroll-loops .endif # x86_64/amd64 includes -msse2 by default .if ${ARCH} == i386 # and SSE2 has been around since the year 2003 latest _OPT_FLAGS+= -msse2 .endif # workaround for values passed on the stack that cause SIGBUS on SSE2 .if ${ARCH} == i386 _OPT_FLAGS+= -mstackrealign .endif # ------------------------------------------------------------------- .include post-patch: @${REINPLACE_CMD} -e 's#DESTINATION "$${CMAKE_INSTALL_PREFIX}/share/man/man1"#DESTINATION "${MANPREFIX}/man/man1/"#' \ ${WRKSRC}/CMakeLists.txt TESTIMAGES= ${FILESDIR}/../testimages # paranoia: run rawtherapee to be sure it finds all its # shared libraries (this hinges on proper RPATH setting and propagation) # # _check_version strips stuffixes from distnames etc. that do not appear # in the program's version numbering _check_version= ${PKGVERSION:C/.g0//} _env= LANG= LC_ALL=C LANGUAGE= DISPLAY= HOME="$$TMP" RT_SETTINGS=${WRKDIR}/rt-config RT_CACHE="$$TMP/rtcache" post-install: @${RM} -f ${WRKDIR}/selftest.exitcodes ${WRKDIR}/selftest.expect @(set -e; _mp=$$(/bin/df -P ${STAGEDIR}${PREFIX}/bin/rawtherapee | ${AWK} 'NR==2{print $$NF}') ; \ _fsflags=$$(${MOUNT} -p | ${AWK} "{ if (\$$2 == \"$$_mp\") { print \$$4 } }") ; \ case $$_fsflags in *noexec*) \ ${TOUCH} ${WRKDIR}/selftest.expect ${WRKDIR}/selftest.exitcodes ; \ ${ECHO_CMD} "===> Skipping smoke tests, STAGEDIR=${STAGEDIR} is on a noexec file system" ; \ exit 0 ;; \ esac ; \ ${ECHO_MSG} "===> Running smoke tests" ; \ ${RM} -rf ${WRKDIR}/rt-config ; \ ${MKDIR} ${WRKDIR}/rt-config ${WRKDIR}/rt-config/dcpprofiles ${WRKDIR}/rt-config/profiles ; \ ${CP} ${WRKSRC}/rtengine/camconst.json ${WRKDIR}/rt-config ; \ ${CP} ${WRKSRC}/rtdata/options/options.lin ${WRKDIR}/rt-config/options ; \ (cd ${WRKSRC}/rtdata/ && ${COPYTREE_SHARE} "profiles dcpprofiles" ${WRKDIR}/rt-config ) ; \ (set -x ; TMP=$$(${MKTEMP} -d -t ${PORTNAME}) && trap "rc=$$? ; ${RM} -rf \"$$TMP\" ; exit \$$rc" 0 && \ ( set +e ; ${SETENV} ${_env} ${STAGEDIR}${PREFIX}/bin/rawtherapee -v ; \ echo $$? >&3 ) 3>&3 | ${EGREP} -q "RawTherapee, version ${_check_version:C/_.*//:C/,.*//}|cannot open display:" && \ ( set +e ; ${SETENV} ${_env} ${STAGEDIR}${PREFIX}/bin/rawtherapee-cli ; \ echo $$? >&3 ) 3>&3 | ${EGREP} -q "RawTherapee, version ${_check_version:C/_.*//:C/,.*//}" && \ expect=$$'0\n0\n' && \ onefile=$$(ls "${TESTIMAGES}"/* | head -1) && \ if test -d "${TESTIMAGES}" && test -n "$$onefile" -a -r "$$onefile" ; then \ expect=$$'0\n0\n0\n0\n0\n' && \ ( set +e ; \ /usr/bin/time ${SETENV} ${_env} ${STAGEDIR}${PREFIX}/bin/rawtherapee-cli \ -o "$$TMP" -q -f -c ${TESTIMAGES} ; echo $$? >&3 ; \ /usr/bin/time ${SETENV} ${_env} ${STAGEDIR}${PREFIX}/bin/rawtherapee-cli \ -o "$$TMP" -q -s -Y -c ${TESTIMAGES} ; echo $$? >&3 ; \ /usr/bin/time ${SETENV} ${_env} ${STAGEDIR}${PREFIX}/bin/rawtherapee-cli \ -o "$$TMP" -q -s -Y -tz -c ${TESTIMAGES} ; echo $$? >&3 ) 3>&3 ; \ fi ; \ ls -Rlbai "${TESTIMAGES}" "$${TMP}" || :; \ ${PRINTF} "%s" "$$expect" >&4 ) ) 3>${WRKDIR}/selftest.exitcodes 4>${WRKDIR}/selftest.expect ; \ ${HEAD} ${WRKDIR}/selftest.exitcodes ${WRKDIR}/selftest.expect ; \ cmp ${WRKDIR}/selftest.expect ${WRKDIR}/selftest.exitcodes \ || { ${ECHO_CMD} '===> !!! SELF-TEST FAILED !!! <===' ; exit 1 ; } .include Index: head/graphics/waifu2x-converter-cpp/Makefile =================================================================== --- head/graphics/waifu2x-converter-cpp/Makefile (revision 563569) +++ head/graphics/waifu2x-converter-cpp/Makefile (revision 563570) @@ -1,54 +1,49 @@ # $FreeBSD$ PORTNAME= waifu2x-converter-cpp DISTVERSIONPREFIX= v DISTVERSION= 5.3.4 PORTREVISION= 1 CATEGORIES= graphics MAINTAINER= jbeich@FreeBSD.org COMMENT= Scale and denoise images using convolutional neural networks LICENSE= BSD2CLAUSE MIT LICENSE_COMB= multi LICENSE_FILE_BSD2CLAUSE=${WRKSRC}/include/picojson_LICENSE.txt LICENSE_FILE_MIT= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${LOCALBASE}/include/CL/opencl.h:devel/opencl LIB_DEPENDS= libopencv_imgcodecs.so:graphics/opencv USES= cmake compiler:c++17-lang localbase:ldflags USE_GITHUB= yes USE_LDCONFIG= yes GH_ACCOUNT= DeadSix27 CMAKE_ARGS= -DOPENCV_PREFIX:PATH="${LOCALBASE}" \ -DOpenCL_LIBRARY:FILEPATH="${LOCALBASE}/lib/libOpenCL.so" CMAKE_ON= INSTALL_MODELS ENABLE_TESTS TEST_TARGET= test PLIST_FILES= bin/${PORTNAME} \ include/w2xconv.h \ lib/libw2xc.so PORTDATA= * -.if exists(/usr/lib/libc++fs.a) -# XXX Remove after FreeBSD 12.1 EOL -CMAKE_ARGS+= -DFILE_SYSTEM_LIB:STRING=c++fs -.endif - OPTIONS_DEFINE= SIMD OPTIONS_DEFAULT=SIMD SIMD_CMAKE_OFF= -DARMOPT:BOOL=false -DPPCOPT:BOOL=false -DX86OPT:BOOL=false post-patch: @${REINPLACE_CMD} -e '/Darwin/,/FLAGS_RELEASE/d' \ -e 's,".*\(-m[^[:space:]]*\).*","\1",' \ -e "s/\$${TS}/`${AWK} '/TIMESTAMP/ { print \$$3 }' ${DISTINFO_FILE}`/" \ -e '/find_program/s/git/&_disabled/' \ -e '/GIT_BRANCH/s/null/master/' \ -e '/GIT_COMMIT_HASH/s/000000/${DISTVERSIONSUFFIX:U&:S/^-g//}/' \ -e '/GIT_TAG/s/v0\.0\.0/${DISTVERSIONFULL:C/-.*//}/' \ ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} 's,models_rgb,${WRKSRC}/&,' ${WRKSRC}/w32-apps/runtest.c .include Index: head/lang/luajit/Makefile =================================================================== --- head/lang/luajit/Makefile (revision 563569) +++ head/lang/luajit/Makefile (revision 563570) @@ -1,55 +1,42 @@ # Created by: Sergey A. Osokin # $FreeBSD$ PORTNAME= luajit DISTVERSION= 2.0.5 PORTREVISION= 5 CATEGORIES= lang MASTER_SITES= https://luajit.org/download/ DISTNAME= LuaJIT-${DISTVERSION} MAINTAINER= osa@FreeBSD.org COMMENT= Just-In-Time Compiler for Lua LICENSE= MIT PD LICENSE_COMB= multi LICENSE_FILE= ${WRKSRC}/COPYRIGHT IGNORE_aarch64= fails to compile: lj_arch.h:55:2: No support for this architecture (yet) IGNORE_powerpc64= fails to compile: lj_arch.h:346:2: No support for PowerPC 64 bit mode IGNORE_riscv64= fails to compile: lj_arch.h:55:2: No support for this architecture (yet) CONFLICTS_INSTALL= luajit-openresty WRKSRC= ${WRKDIR}/LuaJIT-${DISTVERSION} USES= gmake USE_LDCONFIG= yes MAKE_ARGS= CC=${CC} CCOPT= CCOPT_x86= PLIST_SUB+= VERSION=${DISTVERSION} .include .if ${ARCH:Mpowerpc*} || ${ARCH:Mmips*} || ${ARCH:Msparc*} USE_GCC=yes -.elif ${ARCH} == amd64 -# FreeBSD 12.1 shipped LLVM 8.0.1, which links libluajit with a TLS phdr that -# requests a 16-byte alignment but an offset that's 8 mod 16. This results in -# hilarity when an error is raised, as luajit raises an exception (stored in a -# static TLS variable) via libunwind. libunwind assumes proper alignment of -# the exception and uses a movaps instruction, which throws a SIGBUS when it -# encounters this misaligned TLS data. While the linker problem doesn't seem -# to be specific to amd64, the effect on luajit does seem to be. -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1201000 && ${OSVERSION} < 1202000 -LLVM_MINIMUM= 10 -BUILD_DEPENDS+= llvm${LLVM_MINIMUM}>=10.0:devel/llvm${LLVM_MINIMUM} -CC= clang10 -.endif .endif post-install: ${LN} -sf ${PORTNAME}-${DISTVERSION} \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_MAN} ${WRKSRC}/etc/luajit.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 .include Index: head/lang/v8/Makefile =================================================================== --- head/lang/v8/Makefile (revision 563569) +++ head/lang/v8/Makefile (revision 563570) @@ -1,190 +1,179 @@ # $FreeBSD$ # To update the port: # The stable v8 version follows the chromium browser # https://chromereleases.googleblog.com/search/label/Desktop%20Update # search for "The stable channel has been updated to" XX.X.XXXX.XXX # -> https://github.com/chromium/chromium/blob/87.0.4280.60/DEPS # -> 'v8_revision': 'd2fef9fb0ac356d6cf6759f29e2b56ebea8bc58d' # https://github.com/v8/v8/commit/d2fef9fb0ac356d6cf6759f29e2b56ebea8bc58d # -> Version 8.7.220.23 # then: # - make makesum # - update the various hashes (BUILD_HASH...), see below: # egrep "build.git|buildtools.git|clang.git|common.git|googletest.git|icu.git|zlib.git" ${WRKSRC}/DEPS # - make MAINTAINER_MODE=yes fetch (warning, it'll try to upload them on my account on freefall) # - make makesum (to update the various deps hashes) # - make clean ; make (and fix the patches if needed) PORTNAME= v8 DISTVERSION= 8.7.220.23 CATEGORIES= lang MASTER_SITES= LOCAL/mikael/v8/:build \ LOCAL/mikael/v8/:buildtools \ LOCAL/mikael/v8/:clang \ LOCAL/mikael/v8/:common \ LOCAL/mikael/v8/:googletest \ LOCAL/mikael/v8/:icu \ LOCAL/mikael/v8/:zlib DISTFILES= build-${BUILD_HASH}.tar.gz:build \ buildtools-${BUILDTOOLS_HASH}.tar.gz:buildtools \ clang-${CLANG_HASH}.tar.gz:clang \ common-${COMMON_HASH}.tar.gz:common \ googletest-${GOOGLETEST_HASH}.tar.gz:googletest \ icu-${ICU_HASH}.tar.gz:icu \ zlib-${ZLIB_HASH}.tar.gz:zlib EXTRACT_ONLY= ${DISTNAME}.tar.gz MAINTAINER= sunpoet@FreeBSD.org COMMENT= Open source JavaScript engine by Google LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= binutils>0:devel/binutils \ gn:devel/gn \ ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \ libunwind>0:devel/libunwind LIB_DEPENDS= libicudata.so:devel/icu -.include - -# clang10+ is required, this conditionnal can be dropped when 12.1 is EOL -.if ${OSVERSION} >= 1200000 && ${OSVERSION} < 1201515 -BUILD_DEPENDS+= llvm10>0:devel/llvm10 -.endif - USES= pkgconfig ninja python:3.5+,build tar:xz USE_GITHUB= yes USE_LDCONFIG= yes USE_GNOME= glib20 # new release every minutes PORTSCOUT= ignore # egrep "build.git|buildtools.git|clang.git|common.git|googletest.git|icu.git|zlib.git" ${WRKSRC}/DEPS BUILD_HASH= 38a49c12ded01dd8c4628b432cb7eebfb29e77f1 BUILDTOOLS_HASH= 3ff4f5027b4b81a6c9c36d64d71444f2709a4896 CLANG_HASH= 3017edade60658a699be776d9e282509a902ffe9 COMMON_HASH= 23ef5333a357fc7314630ef88b44c3a545881dee GOOGLETEST_HASH= 4fe018038f87675c083d0cfb6a6b57c274fb1753 ICU_HASH= aef20f06d47ba76fdf13abcdb033e2a408b5a94d ZLIB_HASH= 4668feaaa47973a6f9d9f9caeb14cd03731854f1 BUILDTYPE= Release BINARY_ALIAS= python=${PYTHON_CMD} # Run "gn args out/Release --list" for all variables. # Some parts don't have use_system_* flag, and can be turned on/off by using # replace_gn_files.py script, some parts just turned on/off for target host # OS "target_os == is_bsd", like libusb, libpci. GN_ARGS+= clang_use_chrome_plugins=false \ is_clang=true \ treat_warnings_as_errors=false \ use_aura=true \ use_lld=true \ use_custom_libcxx=false \ v8_use_external_startup_data=false \ extra_cxxflags="${CXXFLAGS}" \ extra_ldflags="${LDFLAGS}" MAKE_ARGS= -C out/${BUILDTYPE} # sha256 changes everytime you download the archive, need to host them on # freefall # To download distfiles : as sunpoet: make MAINTAINER_MODE=yes fetch .if defined(MAINTAINER_MODE) do-fetch: ${FETCH_CMD} -o ${DISTDIR}/build-${BUILD_HASH}.tar.gz \ https://chromium.googlesource.com/chromium/src/build.git/+archive/${BUILD_HASH}.tar.gz ${FETCH_CMD} -o ${DISTDIR}/buildtools-${BUILDTOOLS_HASH}.tar.gz \ https://chromium.googlesource.com/chromium/src/buildtools.git/+archive/${BUILDTOOLS_HASH}.tar.gz ${FETCH_CMD} -o ${DISTDIR}/clang-${CLANG_HASH}.tar.gz \ https://chromium.googlesource.com/chromium/src/tools/clang.git/+archive/${CLANG_HASH}.tar.gz ${FETCH_CMD} -o ${DISTDIR}/common-${COMMON_HASH}.tar.gz \ https://chromium.googlesource.com/chromium/src/base/trace_event/common.git/+archive/${COMMON_HASH}.tar.gz ${FETCH_CMD} -o ${DISTDIR}/googletest-${GOOGLETEST_HASH}.tar.gz \ https://chromium.googlesource.com/external/github.com/google/googletest.git/+archive/${GOOGLETEST_HASH}.tar.gz ${FETCH_CMD} -o ${DISTDIR}/icu-${ICU_HASH}.tar.gz \ https://chromium.googlesource.com/chromium/deps/icu.git/+archive/${ICU_HASH}.tar.gz ${FETCH_CMD} -o ${DISTDIR}/zlib-${ZLIB_HASH}.tar.gz \ https://chromium.googlesource.com/chromium/src/third_party/zlib.git/+archive/${ZLIB_HASH}.tar.gz . if ${USER} == ${MAINTAINER:C/@.*//} . for f in build-${BUILD_HASH} buildtools-${BUILDTOOLS_HASH} \ clang-${CLANG_HASH} common-${COMMON_HASH} \ googletest-${GOOGLETEST_HASH} icu-${ICU_HASH} \ zlib-${ZLIB_HASH} scp ${DISTDIR}/${f}.tar.gz \ sunpoet@freefall.freebsd.org:public_distfiles/v8 . endfor . endif .endif # defined(MAINTAINER_MODE) post-extract: ${MKDIR} \ ${WRKSRC}/base/trace_event/common \ ${WRKSRC}/build \ ${WRKSRC}/buildtools \ ${WRKSRC}/third_party/googletest/src \ ${WRKSRC}/third_party/icu \ ${WRKSRC}/third_party/zlib \ ${WRKSRC}/tools/clang ${TAR} -xf ${DISTDIR}/build-${BUILD_HASH}.tar.gz -C ${WRKSRC}/build ${TAR} -xf ${DISTDIR}/buildtools-${BUILDTOOLS_HASH}.tar.gz -C ${WRKSRC}/buildtools ${TAR} -xf ${DISTDIR}/clang-${CLANG_HASH}.tar.gz -C ${WRKSRC}/tools/clang ${TAR} -xf ${DISTDIR}/common-${COMMON_HASH}.tar.gz -C ${WRKSRC}/base/trace_event/common ${TAR} -xf ${DISTDIR}/googletest-${GOOGLETEST_HASH}.tar.gz -C ${WRKSRC}/third_party/googletest/src ${TAR} -xf ${DISTDIR}/icu-${ICU_HASH}.tar.gz -C ${WRKSRC}/third_party/icu ${TAR} -xf ${DISTDIR}/zlib-${ZLIB_HASH}.tar.gz -C ${WRKSRC}/third_party/zlib post-patch: ${REINPLACE_CMD} "s|%%LOCALBASE%%|${LOCALBASE}|" \ ${WRKSRC}/build/toolchain/gcc_toolchain.gni \ ${WRKSRC}/buildtools/third_party/libc++/BUILD.gn -# clang10+ is required, this conditionnal can be dropped when 12.1 is EOL -.if ${OSVERSION} >= 1200000 && ${OSVERSION} < 1201515 - @${PATCH} -d ${PATCH_WRKSRC} ${PATCH_ARGS} < ${FILESDIR}/extrapatch-clang10 -.endif # google sucks, this file is needed but absent in the build* archive # https://github.com/klzgrad/naiveproxy/blob/master/src/build/config/gclient_args.gni ${TOUCH} ${WRKSRC}/build/config/gclient_args.gni ${ECHO} "checkout_google_benchmark = false" >> ${WRKSRC}/build/config/gclient_args.gni pre-configure: # use system libraries for ICU cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${PYTHON_CMD} \ ./build/linux/unbundle/replace_gn_files.py --system-libraries \ icu || ${FALSE} # google build system is too stupid to create needed directory and # use system headers for ICU ${MKDIR} ${WRKSRC}/out/${BUILDTYPE}/gen/shim_headers/icuuc_shim/third_party/icu/source/common/unicode \ ${WRKSRC}/out/${BUILDTYPE}/gen/shim_headers/icui18n_shim/third_party/icu/source/i18n/unicode \ ${WRKSRC}/out/${BUILDTYPE}/gen/include ${CP} -R ${LOCALBASE}/include/unicode ${WRKSRC}/out/${BUILDTYPE}/gen/include do-configure: cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} gn gen out/${BUILDTYPE} --args='${GN_ARGS}' do-install: ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/d8 ${STAGEDIR}${PREFIX}/bin/d8 # ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/d8 ${STAGEDIR}${PREFIX}/bin/cctest # ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/mksnapshot ${STAGEDIR}${PREFIX}/bin/mksnapshot # ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/mkgrokdump ${STAGEDIR}${PREFIX}/bin/mkgrokdump ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/libv8.so ${STAGEDIR}${PREFIX}/lib/libv8.so ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/libv8_libbase.so ${STAGEDIR}${PREFIX}/lib/libv8_libbase.so ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/libv8_libplatform.so ${STAGEDIR}${PREFIX}/lib/libv8_libplatform.so ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/libchrome_zlib.so ${STAGEDIR}${PREFIX}/lib/libchrome_zlib.so ${INSTALL_DATA} ${WRKSRC}/include/*.h ${STAGEDIR}${PREFIX}/include/ ${MKDIR} ${STAGEDIR}${PREFIX}/include/libplatform \ ${STAGEDIR}${PREFIX}/include/cppgc ${INSTALL_DATA} ${WRKSRC}/include/libplatform/*.h ${STAGEDIR}${PREFIX}/include/libplatform/ cd ${WRKSRC}/include/cppgc && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/include/cppgc " -name *\.h" ${INSTALL_DATA} ${FILESDIR}/*.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig ${REINPLACE_CMD} "s|%%PREFIX%%|${PREFIX}|" \ ${STAGEDIR}${PREFIX}/libdata/pkgconfig/* .include Index: head/www/deno/Makefile =================================================================== --- head/www/deno/Makefile (revision 563569) +++ head/www/deno/Makefile (revision 563570) @@ -1,398 +1,387 @@ # $FreeBSD$ PORTNAME= deno DISTVERSIONPREFIX= v DISTVERSION= 1.7.0 CATEGORIES= www MAINTAINER= mikael@FreeBSD.org COMMENT= Secure JavaScript and TypeScript runtime LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.md BROKEN_i386= cargo:warning=c/freebsd.c:31:10: error: conflicting types for 'get_cpu_speed' BUILD_DEPENDS= binutils>0:devel/binutils \ gn:devel/gn \ libunwind>0:devel/libunwind -.include - -# clang10+ is required, this conditional can be dropped when 12.1 is EOL -.if (${OSVERSION} >= 1200000 && ${OSVERSION} < 1201515) -BUILD_DEPENDS+= llvm10>0:devel/llvm10 -.endif - USES= cargo ninja pkgconfig:build python:3.5+,build USE_GITHUB= yes GH_ACCOUNT= denoland USE_GNOME= glib20 MAKE_JOBS_UNSAFE= yes WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} RUSTY_VERS= 0.16.0 CARGO_ENV+= CLANG_BASE_PATH=/usr \ GN=${PREFIX}/bin/gn \ NINJA=${PREFIX}/bin/ninja \ V8_FROM_SOURCE=1 RUSTFLAGS+= -C link-arg=-fuse-ld=lld PLIST_FILES= bin/${PORTNAME} BINARY_ALIAS= python=${PYTHON_CMD} CARGO_CRATES= Inflector-0.11.4 \ adler-0.2.3 \ aho-corasick-0.7.13 \ alloc-no-stdlib-2.0.1 \ alloc-stdlib-0.2.1 \ ansi_term-0.11.0 \ anyhow-1.0.38 \ anymap-0.12.1 \ arc-swap-0.4.7 \ ast_node-0.7.0 \ async-compression-0.3.7 \ async-stream-0.3.0 \ async-stream-impl-0.3.0 \ async-trait-0.1.42 \ atty-0.2.14 \ auto_impl-0.4.1 \ autocfg-1.0.1 \ base64-0.11.0 \ base64-0.12.3 \ base64-0.13.0 \ bitflags-1.2.1 \ bitvec-0.19.4 \ block-buffer-0.9.0 \ brotli-3.3.0 \ brotli-decompressor-2.3.1 \ build_const-0.2.1 \ bumpalo-3.4.0 \ byteorder-1.4.2 \ bytes-1.0.1 \ cargo_gn-0.0.15 \ cc-1.0.66 \ cfg-if-0.1.10 \ cfg-if-1.0.0 \ chrono-0.4.19 \ clap-2.33.3 \ cloudabi-0.1.0 \ cpuid-bool-0.1.2 \ crc-1.8.1 \ crc32fast-1.2.0 \ crossbeam-channel-0.4.4 \ crossbeam-utils-0.7.2 \ darling-0.10.2 \ darling_core-0.10.2 \ darling_macro-0.10.2 \ dashmap-4.0.1 \ data-encoding-2.3.1 \ deno_doc-0.1.20 \ deno_lint-0.2.16 \ derive_more-0.99.11 \ digest-0.9.0 \ dissimilar-1.0.2 \ dlopen-0.1.8 \ dlopen_derive-0.1.4 \ dprint-core-0.35.0 \ dprint-plugin-markdown-0.5.1 \ dprint-plugin-typescript-0.38.3 \ dprint-swc-ecma-ast-view-0.3.2 \ either-1.6.1 \ encoding_rs-0.8.26 \ endian-type-0.1.2 \ enum-as-inner-0.3.3 \ enum_kind-0.2.0 \ env_logger-0.8.2 \ errno-0.1.8 \ errno-0.2.7 \ errno-dragonfly-0.1.1 \ exec-0.3.1 \ filetime-0.2.13 \ fixedbitset-0.2.0 \ flate2-1.0.17 \ fnv-1.0.7 \ form_urlencoded-1.0.0 \ from_variant-0.1.2 \ fs2-0.4.3 \ fsevent-2.0.2 \ fsevent-sys-3.0.2 \ fslock-0.1.6 \ fuchsia-zircon-0.3.3 \ fuchsia-zircon-sys-0.3.3 \ funty-1.1.0 \ futures-0.3.9 \ futures-channel-0.3.9 \ futures-core-0.3.9 \ futures-executor-0.3.9 \ futures-io-0.3.9 \ futures-macro-0.3.9 \ futures-sink-0.3.9 \ futures-task-0.3.9 \ futures-util-0.3.9 \ fwdansi-1.1.0 \ fxhash-0.2.1 \ gcc-0.3.55 \ generic-array-0.14.4 \ getrandom-0.1.15 \ getrandom-0.2.1 \ h2-0.3.0 \ hashbrown-0.9.1 \ heck-0.3.1 \ hermit-abi-0.1.15 \ hostname-0.3.1 \ http-0.2.3 \ http-body-0.4.0 \ httparse-1.3.4 \ httpdate-0.3.2 \ humantime-2.0.1 \ hyper-0.14.2 \ hyper-rustls-0.22.1 \ ident_case-1.0.1 \ idna-0.2.0 \ if_chain-1.0.0 \ indexmap-1.6.1 \ inotify-0.8.3 \ inotify-sys-0.1.3 \ input_buffer-0.4.0 \ instant-0.1.9 \ iovec-0.1.4 \ ipconfig-0.2.2 \ ipnet-2.3.0 \ is-macro-0.1.8 \ itoa-0.4.6 \ js-sys-0.3.45 \ jsonc-parser-0.15.1 \ kernel32-sys-0.2.2 \ lazy_static-1.4.0 \ lazycell-1.3.0 \ libc-0.2.82 \ linked-hash-map-0.5.4 \ lock_api-0.4.2 \ log-0.4.13 \ lru-cache-0.1.2 \ lsp-types-0.86.0 \ lspower-0.3.0 \ lspower-macros-0.1.0 \ match_cfg-0.1.0 \ matches-0.1.8 \ maybe-uninit-2.0.0 \ memchr-2.3.3 \ mime-0.3.16 \ miniz_oxide-0.4.2 \ mio-0.6.22 \ mio-0.7.6 \ mio-extras-2.0.6 \ miow-0.2.1 \ miow-0.3.6 \ net2-0.2.35 \ new_debug_unreachable-1.0.4 \ nibble_vec-0.1.0 \ nix-0.19.1 \ nom-6.0.1 \ notify-5.0.0-pre.4 \ ntapi-0.3.6 \ num-bigint-0.2.6 \ num-integer-0.1.43 \ num-traits-0.2.12 \ num_cpus-1.13.0 \ once_cell-1.5.2 \ opaque-debug-0.3.0 \ os_pipe-0.9.2 \ owning_ref-0.4.1 \ parking_lot-0.11.1 \ parking_lot_core-0.8.0 \ percent-encoding-2.1.0 \ pest-2.1.3 \ petgraph-0.5.1 \ phf-0.8.0 \ phf_generator-0.8.0 \ phf_macros-0.8.0 \ phf_shared-0.8.0 \ pin-project-0.4.23 \ pin-project-1.0.4 \ pin-project-internal-0.4.23 \ pin-project-internal-1.0.4 \ pin-project-lite-0.2.0 \ pin-utils-0.1.0 \ pmutil-0.5.3 \ ppv-lite86-0.2.9 \ precomputed-hash-0.1.1 \ proc-macro-error-1.0.4 \ proc-macro-error-attr-1.0.4 \ proc-macro-hack-0.5.19 \ proc-macro-nested-0.1.6 \ proc-macro2-0.4.30 \ proc-macro2-1.0.24 \ pty-0.2.2 \ pulldown-cmark-0.8.0 \ quick-error-1.2.3 \ quote-0.6.13 \ quote-1.0.7 \ radium-0.5.3 \ radix_fmt-1.0.0 \ radix_trie-0.2.1 \ rand-0.7.3 \ rand-0.8.1 \ rand_chacha-0.2.2 \ rand_chacha-0.3.0 \ rand_core-0.5.1 \ rand_core-0.6.1 \ rand_hc-0.2.0 \ rand_hc-0.3.0 \ rand_pcg-0.2.1 \ redox_syscall-0.1.57 \ regex-1.4.3 \ regex-syntax-0.6.22 \ relative-path-1.3.2 \ remove_dir_all-0.5.3 \ reqwest-0.11.0 \ resolv-conf-0.7.0 \ retain_mut-0.1.2 \ ring-0.16.19 \ rustc_version-0.2.3 \ rustls-0.19.0 \ rusty_v8-0.16.0 \ rustyline-7.1.0 \ rustyline-derive-0.4.0 \ ryu-1.0.5 \ same-file-1.0.6 \ scoped-tls-1.0.0 \ scopeguard-1.1.0 \ sct-0.6.0 \ semver-0.9.0 \ semver-parser-0.7.0 \ semver-parser-0.10.2 \ serde-1.0.118 \ serde_derive-1.0.118 \ serde_json-1.0.61 \ serde_repr-0.1.6 \ serde_urlencoded-0.7.0 \ sha-1-0.9.1 \ shell-escape-0.1.5 \ signal-hook-registry-1.2.1 \ siphasher-0.3.3 \ slab-0.4.2 \ smallvec-1.6.1 \ socket2-0.3.17 \ sourcemap-6.0.1 \ spin-0.5.2 \ stable_deref_trait-1.2.0 \ string_cache-0.8.1 \ string_cache_codegen-0.5.1 \ string_enum-0.3.0 \ strsim-0.8.0 \ strsim-0.9.3 \ swc_atoms-0.2.5 \ swc_bundler-0.19.2 \ swc_common-0.10.8 \ swc_ecma_ast-0.36.0 \ swc_ecma_codegen-0.42.0 \ swc_ecma_codegen_macros-0.5.0 \ swc_ecma_dep_graph-0.11.0 \ swc_ecma_parser-0.44.2 \ swc_ecma_transforms-0.32.1 \ swc_ecma_transforms_base-0.1.1 \ swc_ecma_transforms_optimization-0.2.2 \ swc_ecma_transforms_proposal-0.2.0 \ swc_ecma_transforms_react-0.2.0 \ swc_ecma_transforms_typescript-0.2.1 \ swc_ecma_utils-0.26.1 \ swc_ecma_visit-0.22.0 \ swc_ecmascript-0.17.1 \ swc_eq_ignore_macros-0.1.0 \ swc_macros_common-0.3.1 \ swc_visit-0.2.2 \ swc_visit_macros-0.2.1 \ syn-0.15.44 \ syn-1.0.58 \ sys-info-0.7.0 \ tap-1.0.0 \ tempfile-3.1.0 \ termcolor-1.1.2 \ textwrap-0.11.0 \ thiserror-1.0.20 \ thiserror-impl-1.0.20 \ thread_local-1.0.1 \ time-0.1.44 \ tinyvec-0.3.4 \ tokio-1.0.1 \ tokio-macros-1.0.0 \ tokio-rustls-0.22.0 \ tokio-stream-0.1.1 \ tokio-test-0.4.0 \ tokio-tungstenite-0.13.0 \ tokio-util-0.6.0 \ toml-0.5.6 \ tower-layer-0.3.0 \ tower-service-0.3.0 \ tower-test-0.4.0 \ tracing-0.1.19 \ tracing-core-0.1.16 \ tracing-futures-0.2.4 \ trust-dns-client-0.20.0 \ trust-dns-proto-0.20.0 \ trust-dns-resolver-0.20.0 \ trust-dns-server-0.20.0 \ try-lock-0.2.3 \ tungstenite-0.12.0 \ typenum-1.12.0 \ ucd-trie-0.1.3 \ unicase-2.6.0 \ unicode-bidi-0.3.4 \ unicode-normalization-0.1.13 \ unicode-segmentation-1.6.0 \ unicode-width-0.1.8 \ unicode-xid-0.1.0 \ unicode-xid-0.2.1 \ untrusted-0.7.1 \ url-2.2.0 \ utf-8-0.7.5 \ utf8parse-0.2.0 \ uuid-0.8.2 \ vec_map-0.8.2 \ version_check-0.9.2 \ walkdir-2.3.1 \ want-0.3.0 \ wasi-0.9.0+wasi-snapshot-preview1 \ wasi-0.10.0+wasi-snapshot-preview1 \ wasm-bindgen-0.2.68 \ wasm-bindgen-backend-0.2.68 \ wasm-bindgen-futures-0.4.18 \ wasm-bindgen-macro-0.2.68 \ wasm-bindgen-macro-support-0.2.68 \ wasm-bindgen-shared-0.2.68 \ web-sys-0.3.45 \ webpki-0.21.4 \ webpki-roots-0.21.0 \ which-4.0.2 \ widestring-0.4.3 \ winapi-0.2.8 \ winapi-0.3.9 \ winapi-build-0.1.1 \ winapi-i686-pc-windows-gnu-0.4.0 \ winapi-util-0.1.5 \ winapi-x86_64-pc-windows-gnu-0.4.0 \ winreg-0.6.2 \ winreg-0.7.0 \ winres-0.1.11 \ ws2_32-sys-0.2.1 \ wyz-0.2.0 post-patch: ${REINPLACE_CMD} "s|%%LOCALBASE%%|${LOCALBASE}|" \ ${WRKSRC}/cargo-crates/rusty_v8-${RUSTY_VERS}/build/toolchain/gcc_toolchain.gni \ ${WRKSRC}/cargo-crates/rusty_v8-${RUSTY_VERS}/buildtools/third_party/libc++/BUILD.gn -# clang10+ is required, this conditional can be dropped when 12.1 is EOL -.if (${OSVERSION} >= 1200000 && ${OSVERSION} < 1201515) - @${PATCH} -d ${PATCH_WRKSRC} ${PATCH_ARGS} < ${FILESDIR}/extrapatch-clang10 -.endif do-install: ${INSTALL_PROGRAM} ${WRKDIR}/target/release/deno ${STAGEDIR}${LOCALBASE}/bin .include Index: head/x11/fnott/Makefile =================================================================== --- head/x11/fnott/Makefile (revision 563569) +++ head/x11/fnott/Makefile (revision 563570) @@ -1,38 +1,32 @@ # $FreeBSD$ PORTNAME= fnott DISTVERSION= 1.0.1 CATEGORIES= x11 MASTER_SITES= https://codeberg.org/dnkl/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/ MAINTAINER= jbeich@FreeBSD.org COMMENT= Keyboard-driven notification daemon for wlroots-based compositors LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ tllist>=1.0.1:devel/tllist \ wayland-protocols>0:graphics/wayland-protocols \ scdoc:textproc/scdoc LIB_DEPENDS= libdbus-1.so:devel/dbus \ libepoll-shim.so:devel/libepoll-shim \ libpng.so:graphics/png \ libwayland-client.so:graphics/wayland \ libfcft.so:x11-fonts/fcft USES= compiler:c11 meson pkgconfig xorg USE_XORG= pixman WRKSRC= ${WRKDIR}/${PORTNAME} -# XXX Drop after FreeBSD 12.1 EOL -.if exists(/usr/lib/clang/8.0.1) -# notification.c:545:13: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] -CFLAGS+= -Wno-error=missing-braces -.endif - post-patch: @${REINPLACE_CMD} 's,/usr/local,${PREFIX},g' \ ${WRKSRC}/xdg.c .include Index: head/x11/foot/Makefile =================================================================== --- head/x11/foot/Makefile (revision 563569) +++ head/x11/foot/Makefile (revision 563570) @@ -1,35 +1,29 @@ # $FreeBSD$ PORTNAME= foot DISTVERSION= 1.6.3 CATEGORIES= x11 MASTER_SITES= https://codeberg.org/dnkl/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/ MAINTAINER= jbeich@FreeBSD.org COMMENT= Fast, lightweight and minimalistic Wayland terminal emulator LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ tllist>=1.0.4:devel/tllist \ wayland-protocols>0:graphics/wayland-protocols \ scdoc:textproc/scdoc LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim \ libwayland-client.so:graphics/wayland \ libfcft.so:x11-fonts/fcft \ libfontconfig.so:x11-fonts/fontconfig \ libxkbcommon.so:x11/libxkbcommon USES= compiler:c11 meson pkgconfig xorg USE_XORG= pixman WRKSRC= ${WRKDIR}/${PORTNAME} MESON_ARGS= -Dterminfo=false -# XXX Drop after FreeBSD 12.1 EOL -.if exists(/usr/lib/clang/8.0.1) -# prompt.c:45:21: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] -CFLAGS+= -Wno-error=missing-braces -.endif - .include Index: head/x11/fuzzel/Makefile =================================================================== --- head/x11/fuzzel/Makefile (revision 563569) +++ head/x11/fuzzel/Makefile (revision 563570) @@ -1,53 +1,47 @@ # $FreeBSD$ PORTNAME= fuzzel DISTVERSION= 1.5.0 CATEGORIES= x11 MASTER_SITES= https://codeberg.org/dnkl/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/ MAINTAINER= jbeich@FreeBSD.org COMMENT= Application launcher for wlroots-based Wayland compositors LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= tllist>=1.0.1:devel/tllist \ wayland-protocols>0:graphics/wayland-protocols \ scdoc:textproc/scdoc LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim \ libwayland-client.so:graphics/wayland \ libfcft.so:x11-fonts/fcft \ libxkbcommon.so:x11/libxkbcommon USES= compiler:c11 meson pkgconfig xorg USE_XORG= pixman WRKSRC= ${WRKDIR}/${PORTNAME} PLIST_FILES= bin/${PORTNAME} \ man/man1/${PORTNAME}.1.gz \ share/zsh/site-functions/_${PORTNAME} -# XXX Drop after FreeBSD 12.1 EOL -.if exists(/usr/lib/clang/8.0.1) -# prompt.c:45:21: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] -CFLAGS+= -Wno-error=missing-braces -.endif - OPTIONS_DEFINE= CAIRO LIBRSVG2 PNG OPTIONS_DEFAULT=CAIRO LIBRSVG2 PNG CAIRO_USES= gnome CAIRO_USE= GNOME=cairo CAIRO_MESON_ENABLED= enable-cairo LIBRSVG2_USES= gnome LIBRSVG2_USE= GNOME=librsvg2 LIBRSVG2_MESON_ENABLED= enable-svg PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_MESON_ENABLED= enable-png post-patch: @${REINPLACE_CMD} 's,/usr/local,${PREFIX},g' \ ${WRKSRC}/xdg.c .include