git: 4fda3fe6aca6 - main - www/netsurf: Respect WITH_DEBUG=yes
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 28 Apr 2022 18:25:56 UTC
The branch main has been updated by nc:
URL: https://cgit.FreeBSD.org/ports/commit/?id=4fda3fe6aca6185f909c38e5ccef621f8da9a0d5
commit 4fda3fe6aca6185f909c38e5ccef621f8da9a0d5
Author: Marcin Cieślak <saper@saper.info>
AuthorDate: 2022-04-28 18:25:41 +0000
Commit: Neel Chauhan <nc@FreeBSD.org>
CommitDate: 2022-04-28 18:25:41 +0000
www/netsurf: Respect WITH_DEBUG=yes
PR: 263497
---
www/netsurf/Makefile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/www/netsurf/Makefile b/www/netsurf/Makefile
index 0e41f353deb9..7289240186b0 100644
--- a/www/netsurf/Makefile
+++ b/www/netsurf/Makefile
@@ -50,6 +50,9 @@ MAKE_ARGS= CC="${CC}" \
Q="" \
TARGET="gtk3" \
WARNFLAGS=""
+.if defined(WITH_DEBUG)
+MAKE_ARGS+= STRIP="true"
+.endif
MAKE_ENV+= COMPONENT_TYPE="lib-shared" \
FLEX="${LOCALBASE}/bin/flex"