nethack: remove groff dep, use CFLAGS/LDFLAGS.
This commit is contained in:
parent
0c15fbe343
commit
294051c8b4
1 changed files with 5 additions and 4 deletions
|
@ -1,10 +1,10 @@
|
||||||
# Template file for 'nethack'
|
# Template file for 'nethack'
|
||||||
pkgname=nethack
|
pkgname=nethack
|
||||||
version=3.4.3
|
version=3.4.3
|
||||||
revision=3
|
revision=4
|
||||||
make_dirs="/var/games/nethack/save 0775 nethack nethack"
|
make_dirs="/var/games/nethack/save 0775 nethack nethack"
|
||||||
system_accounts="$pkgname"
|
system_accounts="$pkgname"
|
||||||
hostmakedepends="ncurses-devel flex groff"
|
hostmakedepends="ncurses-devel flex"
|
||||||
depends="gzip"
|
depends="gzip"
|
||||||
short_desc="Exploring The Mazes of Menace"
|
short_desc="Exploring The Mazes of Menace"
|
||||||
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
||||||
|
@ -25,8 +25,9 @@ do_configure() {
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
make all dungeon \
|
make all dungeon \
|
||||||
CC="$CC" LD="$LD" LEX=flex WINTTYLIB=-lncurses \
|
CC="$CC" LD="$LD" LDFLAGS="$LDFLAGS" \
|
||||||
CFLAGS="-DLINUX -DTIMED_DELAY -DDLB \
|
LEX=flex WINTTYLIB=-lncurses \
|
||||||
|
CFLAGS="$CFLAGS -DLINUX -DTIMED_DELAY -DDLB \
|
||||||
-DHACKDIR='\"/var/games/nethack\"' -I../include"
|
-DHACKDIR='\"/var/games/nethack\"' -I../include"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue