diff --git a/srcpkgs/nethack/template b/srcpkgs/nethack/template index ab7628bd872..d5cb3ad73fa 100644 --- a/srcpkgs/nethack/template +++ b/srcpkgs/nethack/template @@ -1,7 +1,7 @@ # Template file for 'nethack' pkgname=nethack version=3.6.0 -revision=1 +revision=2 make_dirs="/var/games/nethack/save 0775 nethack nethack" system_accounts="$pkgname" hostmakedepends="ncurses-devel flex" @@ -25,7 +25,7 @@ do_configure() { do_build() { make all dungeon \ - CC="$CC" LINK="$CC" LDFLAGS="$LDFLAGS" \ + CC="$CC" LINK="$CC" LFLAGS="$LDFLAGS" \ LEX=flex WINTTYLIB=-lncurses \ CFLAGS="$CFLAGS -DLINUX -DTIMED_DELAY -DDLB \ -DSYSCF -DSYSCF_FILE='\"/usr/lib/nethack\"' \