diff options
| author | Jan Beich <jbeich@FreeBSD.org> | 2023-01-30 23:36:07 +0000 |
|---|---|---|
| committer | Jan Beich <jbeich@FreeBSD.org> | 2023-02-03 12:34:05 +0000 |
| commit | 148cd9fdb918a7de9c0d19eefcabe8bef0feeca9 (patch) | |
| tree | 5386dd0d4a7ea85107d1510a893bc37ad89b6041 | |
| parent | 136e982e2b111922f197de2c040a37a8fbff5f2c (diff) | |
x11/hyprpicker: drop GCC dependency
| -rw-r--r-- | x11/hyprpicker/Makefile | 8 |
1 files 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//' \ |
