mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-03 18:42:58 +02:00
polkit{,-elogind}: fix crossbuild
This commit is contained in:
parent
3376957aa9
commit
b90560aa70
2 changed files with 5 additions and 2 deletions
|
@ -46,7 +46,8 @@ pre_configure() {
|
||||||
}
|
}
|
||||||
post_configure() {
|
post_configure() {
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
sed -e "s,/usr/include/js-17.0,${XBPS_CROSS_BASE}/usr/include/js-17.0," -i src/polkitbackend/Makefile
|
sed -e "s#-include \(/usr/include/mozjs-24/js/RequiredDefines\.h\)#-include ${XBPS_CROSS_BASE}\1#" \
|
||||||
|
-i `find -name Makefile`
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
post_install() {
|
post_install() {
|
||||||
|
|
|
@ -43,9 +43,11 @@ pre_configure() {
|
||||||
}
|
}
|
||||||
post_configure() {
|
post_configure() {
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
sed -e "s,/usr/include/js-17.0,${XBPS_CROSS_BASE}/usr/include/js-17.0," -i src/polkitbackend/Makefile
|
sed -e "s#-include \(/usr/include/mozjs-24/js/RequiredDefines\.h\)#-include ${XBPS_CROSS_BASE}\1#" \
|
||||||
|
-i `find -name Makefile`
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vinstall ${FILESDIR}/polkit-1.pam 644 etc/pam.d polkit-1
|
vinstall ${FILESDIR}/polkit-1.pam 644 etc/pam.d polkit-1
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue