Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jun 2022 20:06:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        tcltk@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 264671] lang/expect: Installed binaries should not be stripped WITH_DEBUG=yes
Message-ID:  <bug-264671-30738-fIVBHyYH51@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-264671-30738@https.bugs.freebsd.org/bugzilla/>
References:  <bug-264671-30738@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
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=3Dyes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264671



--- Description ---
Today I had to single step through expect and I found out that binaries get
stripped on install despite WITH_DEBUG=3Dyes.

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+=3D	pkg-message
 SUB_LIST+=3D	MANPREFIX=3D${MANPREFIX}
 TEST_TARGET=3D	test
+MAKE_ENV+=3D	STRIPPROG=3D${STRIP_CMD}

 post-install:
	${LN} -sf ${DISTNAME}/lib${DISTNAME}.so \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-264671-30738-fIVBHyYH51>