Subject: pkg/27104: bsd.buildlink3.mk and using WRKOBJDIR under LOCALBASE
To: None <gnats-bugs@gnats.netbsd.org>
From: None <reed@reedmedia.net>
List: pkgsrc-bugs
Date: 10/01/2004 08:20:04
>Number: 27104
>Category: pkg
>Synopsis: bsd.buildlink3.mk and using WRKOBJDIR under LOCALBASE causes buildlink wrapper path to be repeated
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Oct 01 15:21:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:
>Release: NetBSD 1.6.2_STABLE
>Organization:
http://bsd.reedmedia.net/
>Environment:
System: NetBSD rainier.reedmedia.net 1.6.2_STABLE NetBSD 1.6.2_STABLE (MYKERNEL) #1: Tue Jun 1 12:16:43 PDT 2004 reed@rainier.reedmedia.net:/usr/src/sys/arch/i386/compile/MYKERNEL i386
Architecture: i386
Machine: i386
>Description:
jlam asked my to file a PR:
I have WRKOBJDIR= /usr/pkg/tmp/pkgsrc
(since March of 2003)
Now building gtk2 had work.rainier/.buildlink/lib/libtiff.la with:
dependency_libs='/usr/pkg/tmp/pkgsrc/x11/gtk2/work.rainier/.buildlink/tmp/pkgsrc
/x11/gtk2/work.rainier/.buildlink/lib/libjpeg.la -lz -lm'
Notice the path is repeated.
>How-To-Repeat:
Put your WRKOBJDIR so it is within the LOCALBASE.
>Fix:
Improve bsd.buildlink3.mk.
My quick workaround was to change my WRKOBJDIR.
>Release-Note:
>Audit-Trail:
>Unformatted: