neomutt: nocross for now
This commit is contained in:
parent
a023935243
commit
a3c5738d34
1 changed files with 14 additions and 1 deletions
|
@ -6,7 +6,7 @@ wrksrc="${pkgname}-${pkgname}-${version}"
|
|||
build_style=gnu-configure
|
||||
configure_script=./configure.autosetup
|
||||
configure_args="--ssl --gpgme --notmuch --gdbm --lua --sasl"
|
||||
hostmakedepends="libxslt docbook-xsl w3m"
|
||||
hostmakedepends="libxslt docbook-xsl w3m tcl"
|
||||
makedepends="ncurses-devel gpgme-devel libidn-devel libressl-devel libsasl-devel
|
||||
gdbm-devel aspell-devel libnotmuch-devel gettext-devel lua-devel"
|
||||
depends="mime-types"
|
||||
|
@ -17,6 +17,19 @@ license="GPL-2"
|
|||
homepage="http://www.neomutt.org"
|
||||
distfiles="https://github.com/neomutt/neomutt/archive/neomutt-${version}.tar.gz"
|
||||
checksum=5a7c6302d623b620db03d923a7cd7cf967123a67fc42c117a0dd4b45612e9a55
|
||||
nocross="https://build.voidlinux.eu/builders/armv7l_builder/builds/5375 no longer gnu-configure, but needs /etc set correctly and also to know how to cross build documentation"
|
||||
|
||||
# fix:
|
||||
if [ -n "${XBPS_CROSS_BASE}" ]; then
|
||||
configure_args="${configure_args} --host=$XBPS_CROSS_TRIPLET"
|
||||
configure_args="${configure_args} --build=$XBPS_TRIPLET"
|
||||
configure_args="${configure_args} --with-lua=$XBPS_CROSS_BASE/"
|
||||
configure_args="${configure_args} --with-ncurses=$XBPS_CROSS_BASE/"
|
||||
configure_args="${configure_args} --with-notmuch=$XBPS_CROSS_BASE/"
|
||||
configure_args="${configure_args} --with-ssl=$XBPS_CROSS_BASE/"
|
||||
configure_args="${configure_args} --with-gdbm=$XBPS_CROSS_BASE/"
|
||||
configure_args="${configure_args} --with-gpgme=$XBPS_CROSS_BASE/"
|
||||
fi
|
||||
|
||||
case "${XBPS_TARGET_MACHINE}" in
|
||||
x86_64-musl) CFLAGS="-D_FILE_OFFSET_BITS=64 -DLARGEFILE_SOURCE=1";;
|
||||
|
|
Loading…
Reference in a new issue