git: 148cd9fdb918 - main - x11/hyprpicker: drop GCC dependency
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 03 Feb 2023 12:35:04 UTC
The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=148cd9fdb918a7de9c0d19eefcabe8bef0feeca9 commit 148cd9fdb918a7de9c0d19eefcabe8bef0feeca9 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2023-01-30 23:36:07 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2023-02-03 12:34:05 +0000 x11/hyprpicker: drop GCC dependency --- x11/hyprpicker/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/x11/hyprpicker/Makefile b/x11/hyprpicker/Makefile index f66c3f551972..e140596c9b09 100644 --- a/x11/hyprpicker/Makefile +++ b/x11/hyprpicker/Makefile @@ -1,5 +1,6 @@ PORTNAME= hyprpicker PORTVERSION= s20230203 +PORTREVISION= 1 CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org @@ -13,13 +14,11 @@ BUILD_DEPENDS= gmake:devel/gmake \ wayland-protocols>0:graphics/wayland-protocols LIB_DEPENDS= libwayland-client.so:graphics/wayland -USES= compiler:c++11-lib cmake gnome jpeg pkgconfig -USE_GCC= yes:build # C++23 +USES= compiler:c++11-lib cmake gnome jpeg localbase:ldflags pkgconfig USE_GNOME= cairo USE_GITHUB= yes GH_ACCOUNT= hyprwm GH_TAGNAME= e4c2672 -LDFLAGS+= -static-libstdc++ -static-libgcc # avoid libc++ conflict PLIST_FILES= bin/${PORTNAME} \ share/man/man1/${PORTNAME}.1.gz @@ -37,6 +36,9 @@ post-patch: -e 's/$${GIT_COMMIT_MESSAGE}/<unknown>/' \ -e 's/$${GIT_DIRTY}/portbld/' \ ${WRKSRC}/CMakeLists.txt +# https://clang.llvm.org/cxx_status.html#cxx23 + @${REINPLACE_CMD} -e 's/c++23/c++17/' \ + ${WRKSRC}/CMakeLists.txt # Drop unused dependencies @${REINPLACE_CMD} 's/ wlroots//' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's/ pango pangocairo//' \