From 0b32390b25d06f2ac48dcf671f3b921dd05ee5ab Mon Sep 17 00:00:00 2001 From: Alex Brem Date: Wed, 6 May 2015 19:15:12 +0200 Subject: [PATCH] dhex-0.68: This should fix cross compilation and use our {C,LD}FLAGS for building. --- srcpkgs/dhex/template | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/srcpkgs/dhex/template b/srcpkgs/dhex/template index 983095ad447..bf16305f1fd 100644 --- a/srcpkgs/dhex/template +++ b/srcpkgs/dhex/template @@ -2,7 +2,6 @@ pkgname=dhex version=0.68 revision=1 -build_style=gnu-makefile makedepends="ncurses-devel" short_desc="Hex editor and diff tool using ncurses" maintainer="Alex Brem " @@ -12,6 +11,10 @@ distfiles="${homepage}${pkgname}_${version}.tar.gz" checksum=126c34745b48a07448cfe36fe5913d37ec562ad72d3f732b99bd40f761f4da08 wrksrc="${pkgname}_${version}" +do_build() { + make CC=$CC CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" ${makejobs} +} + do_install() { vbin dhex vman dhex.1