Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 328448 Details for
Bug 441866
dev-util/boost-build-1.51.0 doesn't warn about spaces in the end of *FLAGS and doesn't strip them
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Proposed patch for space checking at setup phase
boost-build-1.51.0-spaces-check.patch (text/plain), 600 bytes, created by
Petr Polezhaev
on 2012-11-05 12:48:12 UTC
(
hide
)
Description:
Proposed patch for space checking at setup phase
Filename:
MIME Type:
Creator:
Petr Polezhaev
Created:
2012-11-05 12:48:12 UTC
Size:
600 bytes
patch
obsolete
>--- boost-build-1.51.0.ebuild 2012-10-31 21:01:14.000000000 +0400 >+++ boost-build-1.51.0-r1.ebuild 2012-11-05 16:44:42.000000000 +0400 >@@ -33,6 +33,21 @@ > python_set_active_version 2 > python_pkg_setup > fi >+ >+ local has_spaces=false >+ >+ for flags in {C,CXX,LD}FLAGS; do >+ local content= >+ >+ eval content=\"\${$flags}\" >+ >+ echo "${content}" | egrep -q '(^[[:space:]]|[[:space:]]$)' || continue >+ >+ eerror "$flags variable contain trailing or initial spaces: '$content'" >+ has_spaces=true >+ done >+ >+ ${has_spaces} && die "boost-build could not be build with flags given" > } > > src_unpack() {
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 Raw
Actions:
View
Attachments on
bug 441866
: 328448