diff --git a/srcpkgs/mg/template b/srcpkgs/mg/template index 895e5db0365..fb45984d9a3 100644 --- a/srcpkgs/mg/template +++ b/srcpkgs/mg/template @@ -1,7 +1,7 @@ # Template file for 'mg' pkgname=mg version=20110905 -revision=2 +revision=3 makedepends="ncurses-devel" homepage="http://homepage.boetes.org/software/mg" short_desc="Micro GNU/emacs" @@ -9,15 +9,15 @@ maintainer="Juan RP " license="Public Domain" distfiles="$homepage/mg-$version.tar.gz" checksum=1cd37d7e6a3eecc890a5718c38b8f38495057ba93856762a756ccee2f9618229 -long_desc=" - mg is Micro GNU/emacs, this is a portable version of the mg maintained - by the OpenBSD team." -do_build() { +do_configure() { if [ "$CROSS_BUILD" ]; then sed -e "s,/usr/include,$XBPS_CROSS_BASE/include,g" -i configure fi CC="$CC" ./configure +} + +do_build() { make CC="$CC" CFLAGS="$CFLAGS" ${makejobs} }