nethack: remove groff dep, use CFLAGS/LDFLAGS.
This commit is contained in:
parent
0c15fbe343
commit
294051c8b4
|
@ -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 <chneukirchen@gmail.com>"
|
||||
|
@ -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"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue