passwordsafe: remove obsolete wx-config workaround

This commit is contained in:
newbluemoon 2018-01-07 18:38:07 +01:00 committed by Jürgen Buchmüller
parent 67c20224e0
commit 37f35c2bf4

View file

@ -16,11 +16,8 @@ distfiles="https://github.com/pwsafe/pwsafe/archive/${version}.tar.gz>pwsafe-${v
checksum=36d64d748a63825cb17e247628f6a378f131d952d4c1715cc6304e4d07b3e0ed
pre_configure() {
# cmake doesnt find/use the wx-config wrapper
# ykpers-1 includes are hardcoded, add cross base
sed -i -e "1i\set(wxWidgets_CONFIG_OPTIONS --prefix=${XBPS_CROSS_BASE}/usr)" \
-e "s|-I\(/usr/include/ykpers-1\)|-I${XBPS_CROSS_BASE}\1|" \
CMakeLists.txt
sed -i -e "s|-I\(/usr/include/ykpers-1\)|-I${XBPS_CROSS_BASE}\1|" CMakeLists.txt
}
do_install() {