ports/167818: [patch] emulators/mame, emulators/mess: respect STRIP

Jan Beich jbeich at tormail.org
Sat May 12 09:30:16 UTC 2012


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



More information about the freebsd-ports-bugs mailing list