95a9107ffe
tested by various people
48 lines
1.7 KiB
Plaintext
48 lines
1.7 KiB
Plaintext
$OpenBSD: patch-wx-config_in,v 1.2 2007/10/23 11:28:10 steven Exp $
|
|
--- wx-config.in.orig Tue Sep 25 10:51:19 2007
|
|
+++ wx-config.in Tue Oct 2 16:39:45 2007
|
|
@@ -1,4 +1,4 @@
|
|
-#!/bin/sh
|
|
+#!/bin/ksh
|
|
#
|
|
# Name: wx-config{.in,}
|
|
# Purpose: wx configuration search and query tool {template,}
|
|
@@ -566,8 +566,8 @@ find_best_delegate()
|
|
get_legacy_mask()
|
|
{
|
|
[ $# -gt 0 ] || set m
|
|
- eval [ "x\${$1_chartype}" != "xunicode" ] || _unicode_flag=u
|
|
- eval [ "x\${$1_debugtype}" != "xdebug" ] || _debug_flag=d
|
|
+ eval [ "x\${$1_chartype}" != "xunicode" ] || _unicode_flag=
|
|
+ eval [ "x\${$1_debugtype}" != "xdebug" ] || _debug_flag=
|
|
eval echo "wx\${$1_toolkit}${_unicode_flag}${_debug_flag}-\${$1_version}\${$1_host}-config"
|
|
}
|
|
|
|
@@ -993,7 +993,7 @@ lib_flags_for()
|
|
_libname="@WX_LIBRARY_BASENAME_GUI@"
|
|
fi
|
|
[ $lib = base ] || _libname="${_libname}_$lib"
|
|
- _libname="${_libname}-@WX_RELEASE@$_target"
|
|
+ _libname="${_libname}$_target"
|
|
|
|
if is_static; then
|
|
_wxlibs="$_wxlibs ${libdir}/lib${_libname}.a"
|
|
@@ -1052,7 +1052,7 @@ link_deps_for()
|
|
_libname="@WX_LIBRARY_BASENAME_GUI@"
|
|
fi
|
|
[ $lib = base ] || _libname="${_libname}_$lib"
|
|
- _libname="${_libname}-@WX_RELEASE@$_target"
|
|
+ _libname="${_libname}$_target"
|
|
|
|
_wxlibs="$_wxlibs ${libdir}/lib${_libname}.a"
|
|
done
|
|
@@ -1133,7 +1133,7 @@ fi
|
|
[ "$using_gui" = "yes" ] || _gui_cppflags="-DwxUSE_GUI=0"
|
|
|
|
if is_installed; then
|
|
- _include_cppflags="-I${includedir}/wx-@WX_RELEASE@@WX_FLAVOUR@"
|
|
+ _include_cppflags="-I${includedir}"
|
|
else
|
|
_include_cppflags="-I${includedir} -I${prefix}/contrib/include"
|
|
fi
|