git: a43753089305 - 2024Q3 - x11-wm/wlmaker: build with optimizations
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 31 Aug 2024 22:42:16 UTC
The branch 2024Q3 has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=a437530893054faad46279a02d333a91b7be81a4 commit a437530893054faad46279a02d333a91b7be81a4 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2024-08-31 22:21:10 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2024-08-31 22:42:02 +0000 x11-wm/wlmaker: build with optimizations Any optimizations: don't downgrade -O3 to -O2. (cherry picked from commit fb052e78c1392cdd5d1327f43937e5e5a16c1306) --- x11-wm/wlmaker/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/x11-wm/wlmaker/Makefile b/x11-wm/wlmaker/Makefile index 67af60321dc6..c52184dfe96d 100644 --- a/x11-wm/wlmaker/Makefile +++ b/x11-wm/wlmaker/Makefile @@ -1,6 +1,7 @@ PORTNAME= wlmaker DISTVERSIONPREFIX= v DISTVERSION= 0.3 +PORTREVISION= 1 CATEGORIES= x11-wm wayland MAINTAINER= jbeich@FreeBSD.org @@ -23,6 +24,7 @@ USE_GNOME= cairo USE_XORG= xcb GH_ACCOUNT= phkaeser GH_TUPLE= phkaeser:libbase:df7ce2a:libbase/submodules/libbase +CMAKE_OFF= ${WITH_DEBUG:D:Uconfig_DEBUG} PLIST_FILES= bin/${PORTNAME} \ bin/wlmclock \ share/icons/${PORTNAME}/chrome-48x48.png \ @@ -33,6 +35,10 @@ PLIST_FILES= bin/${PORTNAME} \ ${NULL} post-patch: +# Respect -O level from global CFLAGS or CMAKE_BUILD_TYPE + @${REINPLACE_CMD} '/-O[0-9]/d' \ + ${WRKSRC}/submodules/libbase/CMakeLists.txt \ + ${WRKSRC}/CMakeLists.txt # Respect PREFIX for icons @${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \ ${WRKSRC}/src/clip.c \