Subject: pkg/32425: Perl does not build on IRIX
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <duck@multi.fi>
List: pkgsrc-bugs
Date: 01/02/2006 07:14:09
>Number:         32425
>Category:       pkg
>Synopsis:       Perl does not build on IRIX
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 02 07:14:09 +0000 2006
>Originator:     Staffan Thomén
>Release:        IRIX 6.5.27m
>Organization:
Staffan Thomen 1024D/7C7E2EF8
Sed quis custodiet ipsos Custodes?
>Environment:
System: IRIX64 halo 6.5 6.5.27m 01062343 IP30
Architecture: sgi
Machine: mipseb
>Description:
Perl doesn't build because the libraries required are not found (pthreads
apparently always get pulled in, no matter what the setting to pkgsrc).

Also, somewhere the -shared flag is lost to cc (not pkgsrc related) when
building libperl.
>How-To-Repeat:
Try to build the perl5 package of pkgsrc-current on IRIX
>Fix:
cvs diff: Diffing .
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/lang/perl5/Makefile,v
retrieving revision 1.109
diff -r1.109 Makefile
136a137,140
> .if ${OPSYS} == "IRIX"
> CONFIGURE_ARGS+=      -Dlddlflags="-shared"
> .endif
>
161d164
< LIBSWANTED.IRIX=      m crypt
174a178
> SYSLIBPATH.IRIX=      /usr/lib${LIBABISUFFIX}
cvs diff: Diffing files
cvs diff: Diffing patches