maintainer-feedback requested: [Bug 264671] lang/expect: Installed binaries should not be stripped WITH_DEBUG=yes
Date: Tue, 14 Jun 2022 20:06:37 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-tcltk (Nobody)
<tcltk@FreeBSD.org> for maintainer-feedback:
Bug 264671: lang/expect: Installed binaries should not be stripped
WITH_DEBUG=yes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264671
--- Description ---
Today I had to single step through expect and I found out that binaries get
stripped on install despite WITH_DEBUG=yes.
Here's how I solved it:
# diff -u Makefile /tmp/Makefile.new
--- Makefile 2022-02-09 17:21:32.000000000 +0000
+++ /tmp/Makefile.new 2022-06-14 20:00:30.450493000 +0000
@@ -22,6 +22,7 @@
SUB_FILES+= pkg-message
SUB_LIST+= MANPREFIX=${MANPREFIX}
TEST_TARGET= test
+MAKE_ENV+= STRIPPROG=${STRIP_CMD}
post-install:
${LN} -sf ${DISTNAME}/lib${DISTNAME}.so \