Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 196134 Details for
Bug 274675
wxWidgets package detection in cmake fails if /bin/sh is not bash
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
wx-config.diff
wx-config.diff (text/plain), 1.48 KB, created by
Ryan Hill (RETIRED)
on 2009-06-30 04:50:52 UTC
(
hide
)
Description:
wx-config.diff
Filename:
MIME Type:
Creator:
Ryan Hill (RETIRED)
Created:
2009-06-30 04:50:52 UTC
Size:
1.48 KB
patch
obsolete
>--- wx-config-0.7 2007-12-22 22:08:54.000000000 -0600 >+++ wx-config-0.9 2009-06-29 22:44:32.848584448 -0600 >@@ -1,8 +1,8 @@ >-#!/bin/bash - >+#!/bin/sh - > # > # /usr/bin/wx-config > # >-# a lame wx-config wrapper by dirtyepic@gentoo.org >+# a lame wx-config wrapper (bugs to wxwidgets@gentoo.org) > > _wxerror() { > echo "An error occurred while calling wx-config:" >@@ -13,33 +13,19 @@ > exit 1 > } > >-if [[ -n ${WX_ECLASS_CONFIG} ]]; then >+if [ -n ${WX_ECLASS_CONFIG} ]; then > ${WX_ECLASS_CONFIG} "$@" > exit 0 >-#elif [[ -n ${EBUILD_PHASE} ]]; then >-# cat <<- EOF >-# " >-# >-# >-# *** This ebuild is attempting to use /usr/bin/wx-config directly. >-# *** Please see wxwidgets.eclass for instructions how to add wxWidgets support >-# *** to your package. >-# >-# >-# " >-# EOF >-# exit 1 > else >- if [[ -e /var/lib/wxwidgets/current ]]; then >+ if [ -e /var/lib/wxwidgets/current ]; then > source /var/lib/wxwidgets/current > else >- _wxerror "Cannot find wxWidgets profile configuration file ( /var/lib/wxwidgets/current )" >+ _wxerror "Cannot find the wxWidgets profile configuration ( /var/lib/wxwidgets/current )" > fi > >- [[ ${WXCONFIG} == none ]] && _wxerror "No profile currently selected" >+ [ ${WXCONFIG} == none ] && _wxerror "No profile currently selected" > >- if [[ -f /usr/lib/wx/config/${WXCONFIG} \ >- && -x /usr/lib/wx/config/${WXCONFIG} ]]; then >+ if [ -x /usr/lib/wx/config/${WXCONFIG} ]; then > /usr/lib/wx/config/${WXCONFIG} "$@" > else > _wxerror "Cannot find wxWidgets profile ( ${WXCONFIG} )"
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 274675
:
195155
|
196134
|
196136