FreeBSD Bugzilla – Attachment 157201 Details for
Bug 198611
Libraries build with libtool are no longer stripped with elftoolchain strip
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Possible patch
strip.diff (text/plain), 6.98 KB, created by
Antoine Brodin
on 2015-05-27 18:12:44 UTC
(
hide
)
Description:
Possible patch
Filename:
MIME Type:
Creator:
Antoine Brodin
Created:
2015-05-27 18:12:44 UTC
Size:
6.98 KB
patch
obsolete
>Index: Mk/Uses/libtool.mk >=================================================================== >--- Mk/Uses/libtool.mk (revision 387491) >+++ Mk/Uses/libtool.mk (working copy) >@@ -33,6 +33,7 @@ > -e '/gcc_ver=\\`/s/gcc /$$CC /' \ > -e '/link_all_deplibs[0-9A-Z_]*=/s/=unknown/=no/' \ > -e '/objformat=/s/echo aout/echo elf/' \ >+ -e '/STRIP -V/s/"GNU strip"/"strip"/' \ > -e "/freebsd-elf\\*)/,/;;/ { \ > /deplibs_check_method=/s/=.*/=pass_all/; \ > /library_names_spec=.*\\.so/ \ >Index: audio/liblscp/Makefile >=================================================================== >--- audio/liblscp/Makefile (revision 387491) >+++ audio/liblscp/Makefile (working copy) >@@ -18,8 +18,4 @@ > INSTALL_TARGET= install-strip > USE_LDCONFIG= yes > >-post-patch: >- @${REINPLACE_CMD} -e \ >- 's|"GNU strip"|"strip"|' ${WRKSRC}/configure >- > .include <bsd.port.mk> >Index: audio/mac/files/patch-configure >=================================================================== >--- audio/mac/files/patch-configure (revision 387491) >+++ audio/mac/files/patch-configure (working copy) >@@ -9,12 +9,3 @@ > ac_ext=cpp > ac_cpp='$CXXCPP $CPPFLAGS' > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' >-@@ -11215,7 +11215,7 @@ striplib= >- old_striplib= >- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 >- $as_echo_n "checking whether stripping libraries is possible... " >&6; } >--if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then >-+if test -n "$STRIP" && $STRIP -V 2>&1 | $EGREP "GNU|elftoolchain" >/dev/null; then >- test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" >- test -z "$striplib" && striplib="$STRIP --strip-unneeded" >- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 >Index: devel/pcre/files/patch-configure >=================================================================== >--- devel/pcre/files/patch-configure (revision 387491) >+++ devel/pcre/files/patch-configure (working copy) >@@ -1,13 +0,0 @@ >---- configure.orig 2015-04-28 11:17:21 UTC >-+++ configure >-@@ -14090,8 +14090,8 @@ striplib= >- old_striplib= >- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 >- $as_echo_n "checking whether stripping libraries is possible... " >&6; } >--if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then >-- test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" >-+if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null || >-+ test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then >- test -z "$striplib" && striplib="$STRIP --strip-unneeded" >- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 >- $as_echo "yes" >&6; } >Index: devel/synfig/Makefile >=================================================================== >--- devel/synfig/Makefile (revision 387491) >+++ devel/synfig/Makefile (working copy) >@@ -37,7 +37,6 @@ > @${REINPLACE_CMD} -e \ > '/optimization_flags/s|CXXFLAGS=|#CXXFLAGS=| ; \ > /optimization_flags/s|CFLAGS=|#CFLAGS=| ; \ >- s|"GNU strip"|"strip"| ; \ > s|el_GR|el| ; \ > s|ja_JP|ja| ; \ > s|no_NO|no| ; \ >Index: graphics/pixie/files/patch-configure >=================================================================== >--- graphics/pixie/files/patch-configure (revision 387491) >+++ graphics/pixie/files/patch-configure (working copy) >@@ -1,14 +1,5 @@ > --- configure.orig > +++ configure >-@@ -12199,7 +12199,7 @@ >- old_striplib= >- { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 >- $as_echo_n "checking whether stripping libraries is possible... " >&6; } >--if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then >-+if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "strip" >/dev/null; then >- test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" >- test -z "$striplib" && striplib="$STRIP --strip-unneeded" >- { $as_echo "$as_me:$LINENO: result: yes" >&5 > @@ -18418,10 +18418,10 @@ > if test x$FLTK_CONFIG != xno ; then > if test x$STATIC_FLTK != xtrue ; then >Index: graphics/synfigstudio/Makefile >=================================================================== >--- graphics/synfigstudio/Makefile (revision 387491) >+++ graphics/synfigstudio/Makefile (working copy) >@@ -33,7 +33,6 @@ > @${REINPLACE_CMD} -e \ > '/optimization_flags/s|CXXFLAGS=|#CXXFLAGS=| ; \ > /optimization_flags/s|CFLAGS=|#CFLAGS=| ; \ >- s|"GNU strip"|"strip"| ; \ > /DATADIRNAME/s|lib|share| ; \ > s|<tr1/|<| ; \ > s|::tr1||' \ >Index: math/yacas/Makefile >=================================================================== >--- math/yacas/Makefile (revision 387491) >+++ math/yacas/Makefile (working copy) >@@ -35,8 +35,6 @@ > > post-patch: > @${REINPLACE_CMD} -e \ >- 's|"GNU strip"|"strip"|' ${WRKSRC}/configure >- @${REINPLACE_CMD} -e \ > 's|%%DATADIR%%|${DATADIR}|' ${WRKSRC}/src/yacasmain.cpp > # Can't use USES=shebangfix here, cause the path appears several > # times in the file. >Index: multimedia/subtitleeditor/Makefile >=================================================================== >--- multimedia/subtitleeditor/Makefile (revision 387491) >+++ multimedia/subtitleeditor/Makefile (working copy) >@@ -36,8 +36,4 @@ > OPENGL_USE= gl=glu > OPENGL_CONFIGURE_ENABLE=gl > >-post-patch: >- @${REINPLACE_CMD} -e \ >- 's|"GNU strip"|"strip"|' ${WRKSRC}/configure >- > .include <bsd.port.mk> >Index: net/nanomsg/Makefile >=================================================================== >--- net/nanomsg/Makefile (revision 387491) >+++ net/nanomsg/Makefile (working copy) >@@ -25,10 +25,6 @@ > > OPTIONS_DEFINE= DOCS > >-post-patch: >- @${REINPLACE_CMD} -e 's,GREP "GNU strip",EGREP "GNU|elftoolchain",' \ >- ${WRKSRC}/configure >- > post-install: > @${MKDIR} ${STAGEDIR}${DOCSDIR} > ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} >Index: net-im/gloox/Makefile >=================================================================== >--- net-im/gloox/Makefile (revision 387491) >+++ net-im/gloox/Makefile (working copy) >@@ -26,8 +26,7 @@ > > post-patch: > @${REINPLACE_CMD} -e \ >- 's|"GNU strip"|"strip"| ; \ >- s| -ansi||' ${WRKSRC}/configure >+ 's| -ansi||' ${WRKSRC}/configure > @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ > 's| -pedantic|| ; \ > s| -pipe||' >Index: science/gwyddion/Makefile >=================================================================== >--- science/gwyddion/Makefile (revision 387491) >+++ science/gwyddion/Makefile (working copy) >@@ -49,8 +49,6 @@ > > post-patch: > @${REINPLACE_CMD} -e \ >- 's|"GNU strip"|"strip"|' ${WRKSRC}/configure >- @${REINPLACE_CMD} -e \ > 's|thumbnailer \\|thumbnailer| ; \ > s|devel-docs$$||' ${WRKSRC}/Makefile.in > >Index: sysutils/powerman/Makefile >=================================================================== >--- sysutils/powerman/Makefile (revision 387491) >+++ sysutils/powerman/Makefile (working copy) >@@ -27,8 +27,6 @@ > LDFLAGS+= -L${LOCALBASE}/lib > > post-patch: >- @${REINPLACE_CMD} -e 's,GREP "GNU strip",EGREP "GNU|elftoolchain",' \ >- ${WRKSRC}/configure > @${REINPLACE_CMD} -e \ > '/^install-data-am/s|:.*|:|' ${WRKSRC}/scripts/Makefile.in >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 198611
:
154393
|
155564
|
156881
|
157132
|
157135
|
157136
| 157201