Subject: pkg/22571: x11-links fail if ABI=n32 (works with ABI=32)
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <v.oostveen@hccnet.nl>
List: netbsd-bugs
Date: 08/22/2003 15:48:01
>Number: 22571
>Category: pkg
>Synopsis: x11-links fail if ABI=n32 (works with ABI=32)
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Aug 22 15:49:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Bas van Oostveen
>Release: pkgsrc for irix
>Organization:
na
>Environment:
IRIX washu 6.5 07121149 IP32
uname -aR
IRIX washu 6.5 6.5.17m 07121149 IP32
>Description:
compiling x11-links from pkgsrc on irix fails if /etc/mk.conf:ABI=n32
this is because x11-links/Makefile does the following:
do-install:
...
cd ${BUILDLINK_DIR} && ( ${ECHO} include; ${ECHO} lib${ABI} );)|\
...
on irix we specify ABI=n32 cause we want to use the n(ew) 32-bit abi
the directorie for n32 libraries is lib32. so the makefile should to something like this:
.if ${OPSYS} = IRIX && ${ABI}=n32
ABI=32 #
.endif
temporary solution is to set ABI=32 in /etc/mk.conf
build and install x11-links and then reset ABI=n32
>How-To-Repeat:
bmake clean;bmake install
>Fix:
temporary solution is to set ABI=32 in /etc/mk.conf
build and install x11-links and then reset ABI=n32
>Release-Note:
>Audit-Trail:
>Unformatted: