mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-26 23:42:57 +02:00
icecat: fix cross
This commit is contained in:
parent
8f5d5eab0e
commit
21ca3aac33
1 changed files with 14 additions and 3 deletions
|
@ -9,13 +9,12 @@ license="MPL-1.1, GPL-2, LGPL-2.1"
|
||||||
distfiles="${GNU_SITE}/${pkgname}/${version}/${pkgname}-${version}-gnu1.tar.bz2"
|
distfiles="${GNU_SITE}/${pkgname}/${version}/${pkgname}-${version}-gnu1.tar.bz2"
|
||||||
checksum=699ab2b41d4428ef5e360f3f33d98bc52723315cedac20bb03619846ca895302
|
checksum=699ab2b41d4428ef5e360f3f33d98bc52723315cedac20bb03619846ca895302
|
||||||
|
|
||||||
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
|
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
|
|
||||||
hostmakedepends="autoconf213 unzip zip pkg-config perl python yasm rust cargo"
|
hostmakedepends="autoconf213 unzip zip pkg-config perl python yasm rust cargo"
|
||||||
makedepends="
|
makedepends="
|
||||||
nss-devel gtk+-devel sqlite-devel libevent-devel libnotify-devel
|
libatomic-devel nss-devel gtk+-devel sqlite-devel libevent-devel
|
||||||
libvpx-devel hunspell-devel libXt-devel
|
libnotify-devel libvpx-devel hunspell-devel libXt-devel
|
||||||
$(vopt_if alsa alsa-lib-devel) $(vopt_if dbus dbus-glib-devel)
|
$(vopt_if alsa alsa-lib-devel) $(vopt_if dbus dbus-glib-devel)
|
||||||
$(vopt_if gtk3 gtk+3-devel) $(vopt_if pulseaudio pulseaudio-devel)
|
$(vopt_if gtk3 gtk+3-devel) $(vopt_if pulseaudio pulseaudio-devel)
|
||||||
$(vopt_if startup_notification startup-notification-devel)
|
$(vopt_if startup_notification startup-notification-devel)
|
||||||
|
@ -54,6 +53,18 @@ do_build() {
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
export HOST_CFLAGS="${XBPS_CFLAGS}"
|
||||||
|
export HOST_CXXFLAGS="${XBPS_CXXFLAGS}"
|
||||||
|
export ac_cv_sqlite_secure_delete=yes \
|
||||||
|
ac_cv_sqlite_threadsafe=yes \
|
||||||
|
ac_cv_sqlite_enable_fts3=yes \
|
||||||
|
ac_cv_sqlite_dbstat_vtab=yes \
|
||||||
|
ac_cv_sqlite_enable_unlock_notify=yes \
|
||||||
|
ac_cv_prog_hostcxx_works=1
|
||||||
|
echo "ac_add_options --target=$XBPS_CROSS_TRIPLET" >>.mozconfig
|
||||||
|
fi
|
||||||
|
|
||||||
# echo "ac_cv_sqlite_threadsafe=yes" >> .mozconfig
|
# echo "ac_cv_sqlite_threadsafe=yes" >> .mozconfig
|
||||||
# echo "ac_cv_sqlite_enable_fts3=yes" >> .mozconfig
|
# echo "ac_cv_sqlite_enable_fts3=yes" >> .mozconfig
|
||||||
# echo "ac_cv_sqlite_enable_unlock_notify=yes" >> .mozconfig
|
# echo "ac_cv_sqlite_enable_unlock_notify=yes" >> .mozconfig
|
||||||
|
|
Loading…
Add table
Reference in a new issue