mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
wxgtk: remove nonexistent include directory from wx-config (#7391)
This commit is contained in:
@@ -9,7 +9,7 @@ open-source and mature."
|
||||
HOMEPAGE="https://www.wxwidgets.org/"
|
||||
COPYRIGHT="1998-2022 Julian Smart, Robert Roebling et al"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="2"
|
||||
REVISION="3"
|
||||
SOURCE_URI="https://github.com/wxWidgets/wxWidgets/releases/download/v$portVersion/wxWidgets-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="c229976bb413eb88e45cb5dfb68b27890d450149c09b331abd751e7ae0f5fa66"
|
||||
SOURCE_DIR="wxWidgets-$portVersion"
|
||||
@@ -190,6 +190,9 @@ INSTALL()
|
||||
rm $binDir/wx-config
|
||||
mv $libDir/wx/config/gtk3-unicode-3.2 $binDir/wx-config
|
||||
|
||||
# Remove nonexistent directory from cflags
|
||||
sed -i 's!"-I${libdir}/wx/include/gtk3-unicode-3.2" !!' $binDir/wx-config
|
||||
|
||||
# Move setup.h to the main include directory.
|
||||
mv $libDir/wx/include/gtk3-unicode-3.2/wx/setup.h $includeDir/wx-3.2/wx/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user