diff --git a/srcpkgs/most/template b/srcpkgs/most/template index 9ae35098ed2..27923519605 100644 --- a/srcpkgs/most/template +++ b/srcpkgs/most/template @@ -1,8 +1,10 @@ # Template file for 'most' pkgname="most" -version="5.0.0a" -revision=3 +version=5.0.0a +revision=4 build_style=gnu-configure +configure_args="--with-slang=${XBPS_CROSS_BASE}/usr" +hostmakedepends="slang-devel" makedepends="slang-devel" short_desc="Paging program that displays, one windowful at a time, the contents of a file" maintainer="Jens E. Becker " @@ -10,3 +12,9 @@ license="GPL-2" homepage="ftp://space.mit.edu/pub/davis/most/" distfiles="ftp://space.mit.edu/pub/davis//${pkgname}/${pkgname}-${version}.tar.bz2" checksum=94cb5a2e71b6b9063116f4398a002a757e59cd1499f1019dde8874f408485aa9 + +post_configure() { + sed -e 's,$(INSTALL) -s,$(INSTALL),g' -i src/Makefile + sed -e 's,\($(CC)\) \($(OBJDIR)/chkslang.o -o $(OBJDIR)/chkslang\),$(BUILD_CC) \2,g' -i src/Makefile + sed -e '/chkslang_C_FLAGS/s,\$(COMPILE_CMD),\$(BUILD_CC) -c,g' -i src/Makefile +}