Subject: pkg/13957: 'make install' fails in www/arena
To: None <>
From: None <>
List: netbsd-bugs
Date: 09/16/2001 06:34:03
>Number:         13957
>Category:       pkg
>Synopsis:       'make install' fails in www/arena
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 15 14:35:00 PDT 2001
>Originator:     Ryo HAYASAKA
>Release:        the latest pkgsrc tree
Japan Advanced Institute of Science and Technology (JAIST)
System: NetBSD 1.5X NetBSD 1.5X (BONNIE) #103: Sat Sep 15 00:08:58 JST 2001 i386
Architecture: i386
Machine: i386
'make install' fails in www/arena.

# make install
===> Installing for arena-0.3.62
install -c -s -o root -g wheel -m 555 /c/pkgsrc/www/arena/work/Arena-0.3.62/Arena/netbsd/arena /usr/pkg/bin/
install: /c/pkgsrc/www/arena/work/Arena-0.3.62/Arena/netbsd/arena: No such file or directory
*** Error code 1

I, however, actually have /c/pkgsrc/www/arena/work/Arena-0.3.62/Arena/netbsdelf/arena.

I think that the bad point is hard-coding directory name, netbsd, in Makefile as follows:
        ${INSTALL_PROGRAM} ${WRKSRC}/Arena/netbsd/arena ${PREFIX}/bin/
...                                        ~~~~~~

It should be changed according to MACHINE_GNU_PLATFORM.

Do 'make install' in www/arena.