pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/40995: libnids needs glib and gthread



The following reply was made to PR pkg/40995; it has been noted by GNATS.

From: "OBATA Akio" <obache%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/40995: libnids needs glib and gthread
Date: Sun, 31 May 2009 07:20:27 +0900

 On Wed, 11 Mar 2009 21:50:00 +0900, <apb%cequrux.com@localhost> wrote:
 
 >      The net/libnids package installs only a static library.
 >      Programs that link against ilbnids need
 >
 >              -lnids -lglib-2.0 -lghtread-2.0
 
 Now, allowed glib to be disabled.
 Then, it is depend on whether libnids was built with glib option or not.
 
 >      NIDSLIB = -L/usr/pkg/lib -lnids -lglib-2.0 -lgthread-2.0
 >
 >         However, this is clearly the wrong solution, since it would have
 >         to be integrated into the configure script and repeated for
 >         every package that uses libnids.
 
 Putting follwing lines in net/libnids/buildlink3.mk may help to resolve this 
issue.
 But it must be conditional, as said in above.
 
 BUILDLINK_DEPMETHOD.glib2?=   build
 .include "../../devel/glib2/buildlink3.mk"
 BUILDLINK_TRANSFORM+=  l:nids:nids:glib-2.0:gthread-2.0
 
 -- 
 "Of course I love NetBSD":-)
 OBATA Akio / obache%NetBSD.org@localhost
 


Home | Main Index | Thread Index | Old Index