[Bug 264671] lang/expect: Installed binaries should not be stripped WITH_DEBUG=yes

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 14 Jun 2022 20:06:37 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264671

            Bug ID: 264671
           Summary: lang/expect: Installed binaries should not be stripped
                    WITH_DEBUG=yes
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: tcltk@FreeBSD.org
          Reporter: saper@saper.info
          Assignee: tcltk@FreeBSD.org
             Flags: maintainer-feedback?(tcltk@FreeBSD.org)

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 \

-- 
You are receiving this mail because:
You are the assignee for the bug.