# Template file for 'fish-shell' pkgname=fish-shell version=2.3.0 revision=1 build_style=gnu-configure hostmakedepends="automake libtool" makedepends="ncurses-devel" register_shell="/usr/bin/fish" conf_files="/etc/fish/config.fish" wrksrc="fish-${version}" maintainer="Juan RP " homepage="http://fishshell.com/" license="GPL-2" short_desc="User friendly shell intended mostly for interactive use" distfiles="http://fishshell.com/files/${version}/fish-${version}.tar.gz" checksum=912bac47552b1aa0d483a39ade330356632586a8f726c0e805b46d45cfad54e5 if [ -n "$CROSS_BUILD" ]; then case "$XBPS_TARGET_MACHINE" in *-musl) # Nothing to add ;; *) # Add CXXFLAGS required for glibc CXXFLAGS="-D_GNU_SOURCE=1 -D_ISO99_SOURCE=1" ;; esac export ac_cv_file__proc_self_stat=yes fi pre_configure() { if [ -n "$CROSS_BUILD" ]; then patch -p0 < ${FILESDIR}/no-glibc-check.patch fi autoreconf -fi }