Subject: Re: pkg/29423 - package games/moria fails build
To: None <simonb@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org>
From: Simon Burge <simonb@wasabisystems.com>
List: pkgsrc-bugs
Date: 02/24/2005 00:39:01
The following reply was made to PR pkg/29423; it has been noted by GNATS.
From: Simon Burge <simonb@wasabisystems.com>
To: almeyers@consult-meyers.com
Cc: gnats-bugs@netbsd.org
Subject: Re: pkg/29423 - package games/moria fails build
Date: Thu, 24 Feb 2005 11:38:31 +1100
On Sat, Feb 19, 2005 at 09:40:23AM +0100, A L Meyers wrote:
> Simon Burge wrote:
>
> Hello Simon,
>
> Thanks for the response. After "bmake clean" was able to patch the
> files without problems.
>
> But regret having to report they did not lead to a successful build.
>
> Greetings, Lux
>
> Here is the output:
>
> cc -o moria -O2 main.o misc1.o misc2.o misc3.o misc4.o store1.o files.o
> io.o create.o desc.o generate.o sets.o dungeon.o creature.o death.o
> eat.o help.o magic.o potions.o prayer.o save.o staffs.o wands.o
> scrolls.o spells.o wizard.o store2.o signals.o moria1.o moria2.o
> moria3.o moria4.o monsters.o treasure.o variable.o rnd.o recall.o
> unix.o player.o tables.o -lcurses -ltermcap
> /usr/bin/ld: cannot find -ltermcap
> collect2: ld returned 1 exit status
> *** Error code 1
It seems so far that all modern Unix's don't need termcap for
curses. Can you please try manually editting the umoria/unix/Makefile
file and comment out the
CURSES = -lcurses -ltermcap
line (around line 20) and uncomment the
# CURSES = -lcurses
line two lines below that one?
Cheers,
Simon.
--
Simon Burge <simonb@wasabisystems.com>
NetBSD Development, Support and Service: http://www.wasabisystems.com/