Files
ports/games/scummvm-tools/files/patch-configure
T
Dmitry Marakasov f80d69606f - Update to 2.1.0
- Fix LICENSE
- Fix RUN_DEPENDS
- Fix configure handling
- Fix desktop file categories
- Simplify stripping
- Switch to options helpers

PR:		248149
Submitted by:	amdmi3
Approved by:	lme (maintainer)
2020-08-23 11:31:41 +00:00

23 lines
920 B
Plaintext

--- configure.orig 2020-07-13 19:08:26 UTC
+++ configure
@@ -1672,16 +1672,12 @@ if test "$_wxwidgets" = auto ; then
fi
if test "$_wxwidgets" = yes ; then
- _wxincludes="`$_wxconfig --prefix="$_wxpath" --cflags`"
- _wxlibs="`$_wxconfig --prefix="$_wxpath" --libs`"
- _wxstaticlibs="`$_wxconfig --prefix="$_wxpath" --static --libs 2> /dev/null`"
+ _wxincludes="`$_wxconfig --cflags`"
+ _wxlibs="`$_wxconfig --libs`"
+ _wxstaticlibs="`$_wxconfig --static --libs 2> /dev/null`"
_wxstaticlibs=`echo $_wxstaticlibs | sed 's|-lpng||' | sed 's|-lz||'`
# _wxstaticlibs may contain non-static libraries that we also have in _wxstaticlibs.
# remove those to avoid dependency on non-static libraries
-
- # Use the compiler specified by wx-config. This is needed on some systems to get a working executable.
- CXX="`$_wxconfig --cxx`"
- LD=$CXX
echo_n "Checking for wxwidgets gui dev component... "
has_wx_gui_dev=no