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

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264671

            Bug ID: 264671
           Summary: lang/expect: Installed binaries should not be stripped
                    WITH_DEBUG=3Dyes
           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=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 \

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



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