recoll: workaround wrong include and lib path in xslt-config
This commit is contained in:
parent
bc40351f83
commit
a4efed0253
@ -18,10 +18,12 @@ checksum=438f251c24baf954020cf3298872c74982f4c4abffd10197d7700db83072e732
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
hostmakedepends+=" qt5-host-tools qt5-devel qt5-webkit-devel"
|
||||
broken="Does not use the wrapper correctly? https://build.voidlinux.org/builders/armv7l-musl_builder/builds/25947/steps/shell_3/logs/stdio"
|
||||
|
||||
pre_configure() {
|
||||
# make the xslt-config wrapper call the xml2-config wrapper
|
||||
sed -i -e "s;/usr/bin/xml2-config;${XBPS_WRAPPERDIR}/xml2-config;" \
|
||||
${XBPS_WRAPPERDIR}/xslt-config
|
||||
# xslt-config has the libxml2 hardcoded to /usr/include/libxml2
|
||||
# use cross path instead.
|
||||
vsed -e 's;-I/usr/include/libxml2;-I${includedir}/libxml2;' \
|
||||
-e 's;libs="-lxslt -L/usr/lib -lxml2";libs="-lxslt -lxml2";g' \
|
||||
-i ${XBPS_WRAPPERDIR}/xslt-config
|
||||
}
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user