diff --git a/srcpkgs/hans/template b/srcpkgs/hans/template index 9480d41a5a..1e46870659 100644 --- a/srcpkgs/hans/template +++ b/srcpkgs/hans/template @@ -1,8 +1,7 @@ # Template file for 'hans' pkgname=hans version=0.4.4 -revision=1 -build_style=gnu-makefile +revision=2 short_desc="ICMP tunneling software" maintainer="Andrea Brancaleoni " license="GPL-3" @@ -10,9 +9,8 @@ homepage="http://code.gerade.org/hans/" distfiles="https://github.com/friedrich/$pkgname/archive/v$version.tar.gz" checksum=68fd2497e2e0219ee17a6ee06a85efbae0139b3ba068bb4b9aa65c6ab7629d37 -pre_build() { - sed -i 's|GCC|CC|g' Makefile - sed -i 's|GPP|CXX|g' Makefile +do_build() { + make GCC="$CC" GPP="$CXX" } do_install() {