diff --git a/srcpkgs/nethack/template b/srcpkgs/nethack/template index 7edc1936381..9c7faccfacd 100644 --- a/srcpkgs/nethack/template +++ b/srcpkgs/nethack/template @@ -1,10 +1,10 @@ # Template file for 'nethack' pkgname=nethack version=3.4.3 -revision=3 +revision=4 make_dirs="/var/games/nethack/save 0775 nethack nethack" system_accounts="$pkgname" -hostmakedepends="ncurses-devel flex groff" +hostmakedepends="ncurses-devel flex" depends="gzip" short_desc="Exploring The Mazes of Menace" maintainer="Christian Neukirchen " @@ -25,8 +25,9 @@ do_configure() { do_build() { make all dungeon \ - CC="$CC" LD="$LD" LEX=flex WINTTYLIB=-lncurses \ - CFLAGS="-DLINUX -DTIMED_DELAY -DDLB \ + CC="$CC" LD="$LD" LDFLAGS="$LDFLAGS" \ + LEX=flex WINTTYLIB=-lncurses \ + CFLAGS="$CFLAGS -DLINUX -DTIMED_DELAY -DDLB \ -DHACKDIR='\"/var/games/nethack\"' -I../include" }