nethack: pass LDFLAGS properly.

This commit is contained in:
Christian Neukirchen 2016-05-24 15:05:17 +02:00
parent d8e72f6c71
commit cfb8e13917
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'nethack' # Template file for 'nethack'
pkgname=nethack pkgname=nethack
version=3.6.0 version=3.6.0
revision=1 revision=2
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" hostmakedepends="ncurses-devel flex"
@ -25,7 +25,7 @@ do_configure() {
do_build() { do_build() {
make all dungeon \ make all dungeon \
CC="$CC" LINK="$CC" LDFLAGS="$LDFLAGS" \ CC="$CC" LINK="$CC" LFLAGS="$LDFLAGS" \
LEX=flex WINTTYLIB=-lncurses \ LEX=flex WINTTYLIB=-lncurses \
CFLAGS="$CFLAGS -DLINUX -DTIMED_DELAY -DDLB \ CFLAGS="$CFLAGS -DLINUX -DTIMED_DELAY -DDLB \
-DSYSCF -DSYSCF_FILE='\"/usr/lib/nethack\"' \ -DSYSCF -DSYSCF_FILE='\"/usr/lib/nethack\"' \