mg: update to 20160118.

This commit is contained in:
Christian Neukirchen 2016-01-18 17:58:41 +01:00
parent f8c0cfec10
commit 44ec0e39ec

View File

@ -1,6 +1,6 @@
# Template file for 'mg'
pkgname=mg
version=20160115
version=20160118
revision=1
makedepends="clens libbsd-devel ncurses-devel"
homepage="http://homepage.boetes.org/software/mg"
@ -8,7 +8,7 @@ short_desc="Micro GNU/emacs"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="Public Domain"
distfiles="$homepage/mg-$version.tar.gz"
checksum=968c212d720b76d42cf1b42806ca3c7ca9f7b72b06f16171694a9fc50ef8db77
checksum=26450b2564bec0b0afc465fd24a1917dc31508c5500c3a36823b9c763a2b8636
CFLAGS="-DTCSASOFT=0"
@ -16,10 +16,6 @@ case "$XBPS_TARGET_MACHINE" in
*-musl) CFLAGS+=" -DREG_STARTEND=0";;
esac
post_extract() {
sed -i 's/util.c/util.o/g' GNUmakefile
}
do_configure() {
sed -i "s,\(BSD_CPPFLAGS:=\).*,\1 -isystem ${XBPS_CROSS_BASE}/usr/include/bsd -DLIBBSD_OVERLAY,g" GNUmakefile
sed -i "s,\(BSD_LIBS:=\).*,\1 -lbsd,g" GNUmakefile