Subject: pkg/32050: swi-prolog-packages - some packages don't build
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <mjpb100@york.ac.uk>
List: pkgsrc-bugs
Date: 11/11/2005 18:47:00
>Number:         32050
>Category:       pkg
>Synopsis:       plld and swi-prolog symlinks not present at configure time
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 11 18:47:00 +0000 2005
>Originator:     Mathieu Boespflug
>Release:        NetBSD 3.99.11
>Organization:
        <organization of PR author (multiple lines)>
>Environment:
        <The following information is extracted from your kernel. Please>
        <append output of "ldd", "ident" where relevant (multiple lines).> 
System: NetBSD lima.tweag.net 3.99.11 NetBSD 3.99.11 (LIMA) #8: Fri Nov 4 
18:59:00 G MT 2005 root@lima.tweag.net:/usr/obj/sys/arch/i386/compile/LIMA 
i386 Architecture: i386 Machine: i386
>Description:
        
        some packages are not built and installed when compiling
        swi-prolog-packages. This includes notably clib. Reason is
        that the configure scripts rely on plld and swi-prolog being
        present in src/ but they aren't there at configure time.
        The pkgsrc Makefile creates them pre-build,
        when it should be created pre-configure.

>How-To-Repeat:
        Build and install swi-prolog-packages. Notice that clib (which
        includes socket.pl, unix, etc) isn't installed.
>Fix:
        change pre-build line in pkgsrc Makefile to pre-configure

>Unformatted:
         <Please check that the above is correct for the bug being reported,>
         <and append source date of snapshot, if applicable (one line).>