Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jun 2002 19:37:49 -0700 (PDT)
From:      Matthew Landauer <mlandauer@yahoo.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/39138: Port "newmat" installs library with all the symbols stripped
Message-ID:  <200206110237.g5B2bncB022279@www.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         39138
>Category:       ports
>Synopsis:       Port "newmat" installs library with all the symbols stripped
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 10 19:40:04 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Matthew Landauer
>Release:        4.5-RELEASE
>Organization:
>Environment:
FreeBSD doctor 4.5-RELEASE FreeBSD 4.5-RELEASE #2: Thu Jun  6 17:46:22 EST 2002     matthewl@doctor:/usr/src/sys/compile/DOCTOR  i386
>Description:
The port math/newmat installs the library /usr/local/lib/libnewmat.a with all the symbols stripped.
>How-To-Repeat:
Install the port and type
nm /usr/local/lib/libnewmat.a

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

--- 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

 .include <bsd.port.mk>

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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