From 294051c8b4f0c497a86ed852cd032cafaa01d5c3 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Wed, 13 May 2015 15:58:47 +0200 Subject: [PATCH] nethack: remove groff dep, use CFLAGS/LDFLAGS. --- srcpkgs/nethack/template | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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" }