x11/xfce4: pass --disable-debug by default to ports built from an upstream commit

in january, kn@ noticed that xfce4-wavelan filled .xsession-errors logs
with debugging info, so --enable-maintainer-mode --enable-debug was put
behind .defined(DEBUG), but that broke building ports that built some
.ui files so --enable-maintainer-mode was readded for ports using
XFCE_COMMIT.

turns out --enable-maintainer-mode silently toggles --enable-debug..
so explicitely pass --disable-debug if DEBUG isn't defined, and bump
xfce4-wavelan which was the only affected port.
This commit is contained in:
landry
2023-11-15 17:12:05 +00:00
parent 7aa80d2023
commit 2b821ba775
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ COMMENT= Xfce4 wireless interface monitor panel plugin
XFCE_VERSION= 0.6.3
XFCE_PLUGIN= wavelan
XFCE_COMMIT= 56657a9cc08ce4da022db9233dcf3241aaf13794
REVISION= 6
REVISION= 7
# BSD
PERMIT_PACKAGE= Yes
+4
View File
@@ -90,6 +90,10 @@ BUILD_DEPENDS += ${MODGNU_AUTOCONF_DEPENDS} \
${MODGNU_AUTOMAKE_DEPENDS} \
x11/xfce4/xfce4-dev-tools
# maintainer-mode turns on debug
.ifndef(DEBUG)
CONFIGURE_ARGS += --disable-debug
.endif
.endif
.if defined(DEBUG)