Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 May 2012 11:21:31 +0200
From:      Jan Beich <jbeich@tormail.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/167818: [patch] emulators/mame, emulators/mess: respect STRIP
Message-ID:  <1ST8WQ-000Ksz-8z@internal.tormail.org>
Resent-Message-ID: <201205120930.q4C9UGIr078161@freefall.freebsd.org>

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

>Number:         167818
>Category:       ports
>Synopsis:       [patch] emulators/mame, emulators/mess: respect STRIP
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 12 09:30:15 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Jan Beich
>Release:        FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
>Description:
>How-To-Repeat:
$ make install WITH_DEBUG=
$ file /usr/local/bin/{mame,mess}
/usr/local/bin/mame: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), dynamically linked (uses shared libs), for FreeBSD 10.0 (1000012), stripped
/usr/local/bin/mess: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), dynamically linked (uses shared libs), for FreeBSD 10.0 (1000012), stripped
>Fix:
--- strip.diff begins here ---
Index: emulators/mame/Makefile
===================================================================
RCS file: /a/.csup/ports/emulators/mame/Makefile,v
retrieving revision 1.40
diff -u -p -r1.40 Makefile
--- emulators/mame/Makefile	11 Mar 2012 01:07:00 -0000	1.40
+++ emulators/mame/Makefile	12 May 2012 09:16:09 -0000
@@ -89,6 +81,7 @@
 		's|^BUILD_EXPAT|# BUILD_EXPAT| ; \
 		 s|^BUILD_ZLIB|# BUILD_ZLIB| ; \
 		 /--warn-common/s|= -Wl,|= $$(GCC_LDFLAGS) -Wl,| ; \
+		 /LDFLAGS/s|-s|| ; \
 		 s| = @gcc| := $$(CC)| ; \
 		 s| = @g++| := $$(CXX)| ; \
 		 s|^FULLNAME =.*|FULLNAME = $$(NAME)|' ${WRKSRC}/makefile
Index: emulators/mess/Makefile
===================================================================
RCS file: /a/.csup/ports/emulators/mess/Makefile,v
retrieving revision 1.35
diff -u -p -r1.35 Makefile
--- emulators/mess/Makefile	19 Feb 2012 23:25:04 -0000	1.35
+++ emulators/mess/Makefile	12 May 2012 09:16:20 -0000
@@ -64,6 +66,7 @@ post-patch:
 		's|^BUILD_EXPAT|# BUILD_EXPAT| ; \
 		 s|^BUILD_ZLIB|# BUILD_ZLIB| ; \
 		 /--warn-common/s|= -Wl,|= $$(GCC_LDFLAGS) -Wl,| ; \
+		 /LDFLAGS/s|-s|| ; \
 		 s| = @gcc| := $$(CC)| ; \
 		 s| = @g++| := $$(CXX)| ; \
 		 s|^FULLNAME =.*|FULLNAME = $$(NAME)|' ${WRKSRC}/makefile
--- strip.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1ST8WQ-000Ksz-8z>