Bug 39138 - Port "newmat" installs library with all the symbols stripped
Summary: Port "newmat" installs library with all the symbols stripped
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-11 03:40 UTC by Matthew Landauer
Modified: 2002-06-14 23:04 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Landauer 2002-06-11 03:40:04 UTC
The port math/newmat installs the library /usr/local/lib/libnewmat.a with all the symbols stripped.

Fix: The following patch fixes it by installing the library without stripping the symbols



.include <bsd.port.mk>--8k7rnfnvCGtsjqhRMReL1Pt82b6n7dojcOFUMqZluhbo7vUx
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

--- newmat.bak/Makefile Tue Jun 11 12:27:42 2002
+++ newmat/Makefile     Tue Jun 11 12:09:23 2002
@@ -26,6 +26,6 @@
 do-install:
        @${MKDIR} ${PREFIX}/include/${PORTNAME}
        ${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include/${PORTNAME}
-       ${INSTALL_PROGRAM} ${WRKSRC}/libnewmat.a ${PREFIX}/lib
+       ${INSTALL_DATA} ${WRKSRC}/libnewmat.a ${PREFIX}/lib
How-To-Repeat: Install the port and type
nm /usr/local/lib/libnewmat.a
Comment 1 Patrick Li freebsd_committer freebsd_triage 2002-06-14 23:04:35 UTC
State Changed
From-To: open->closed

Committed, Thanks!