summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/eselect-wxwidgets/files/wx-config-0.7')
-rwxr-xr-xapp-admin/eselect-wxwidgets/files/wx-config-0.721
1 files changed, 9 insertions, 12 deletions
diff --git a/app-admin/eselect-wxwidgets/files/wx-config-0.7 b/app-admin/eselect-wxwidgets/files/wx-config-0.7
index 550ae2eabc75..388ad5097547 100755
--- a/app-admin/eselect-wxwidgets/files/wx-config-0.7
+++ b/app-admin/eselect-wxwidgets/files/wx-config-0.7
@@ -13,25 +13,22 @@ _wxerror() {
exit 1
}
-# Ebuilds should not use this wrapper and use wxwidgets.eclass instead.
-#if [[ -n ${EBUILD_PHASE} ]]; 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.
+# *** 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
-#fi
-
-if [[ -n ${WX_ECLASS_CONFIG} ]]; then
- ${WX_ECLASS_CONFIG} "$@"
- exit 0
else
if [[ -e /var/lib/wxwidgets/current ]]; then
source /var/lib/wxwidgets/current