mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-04 11:03:06 +02:00
nethack: build as if no col(1) is found
Since col(1) is deprecated anyway. And the result is unchanged.
This commit is contained in:
parent
4406dd5fba
commit
5ebacc2917
1 changed files with 2 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'nethack'
|
||||
pkgname=nethack
|
||||
version=3.6.7
|
||||
revision=2
|
||||
revision=3
|
||||
conf_files="/etc/nethack/sysconf"
|
||||
make_dirs="/var/games/nethack/save 0775 nethack nethack"
|
||||
hostmakedepends="flex groff"
|
||||
|
@ -21,13 +21,9 @@ do_configure() {
|
|||
}
|
||||
|
||||
do_build() {
|
||||
local nocol
|
||||
if ! command -v col >/dev/null; then
|
||||
nocol=yes
|
||||
fi
|
||||
make all dungeon \
|
||||
CC="$CC" LINK="$CC" LFLAGS="$LDFLAGS" LEX=flex \
|
||||
"${nocol:+COLCMD=cat}" \
|
||||
COLCMD="sed 's/.\x08//g'" \
|
||||
HACKDIR="/var/games/nethack"
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue