pkgsrc-Bugs archive

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

Re: pkg/50776 (databases/sqlite3 add mk/readline.buildlink3.mk to buildlink3.mk for devel/subversion-base)



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

From: David Shao <davshao%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/50776 (databases/sqlite3 add mk/readline.buildlink3.mk to
 buildlink3.mk for devel/subversion-base)
Date: Sun, 4 Dec 2016 18:00:09 -0800

 A question about what should be in a buildlink3.mk file.
 
 For DragonFly, I use
 PREFER_PKGSRC=        yes
 CURSES_DEFAULT=ncurses
 READLINE_DEFAULT=readline
 
 When I do:
 
 # ldd libsqlite3.so.0.8.6
 libsqlite3.so.0.8.6:
     libreadline.so.7 => /usr/pkg/lib/libreadline.so.7 (0x800781000)
     libncurses.so.6 => /usr/pkg/lib/libncurses.so.6 (0x8007d0000)
     libpthread.so.0 => /usr/lib/libpthread.so.0 (0x80082c000)
     libdl.so.0 => /usr/lib/libdl.so.0 (0x8005c9000)
     libc.so.8 => /lib/libc.so.8 (0x800458000)
 
 We see that pkgsrc libreadline is linked in.
 
 And for say heimdal:
 
 # ldd libkrb5.so.26.0.0
 libkrb5.so.26.0.0:
     libheimbase.so.1 => /usr/pkg/lib/libheimbase.so.1 (0x8005c9000)
     libhx509.so.5 => /usr/pkg/lib/libhx509.so.5 (0x800730000)
     libasn1.so.8 => /usr/pkg/lib/libasn1.so.8 (0x80077b000)
     libwind.so.0 => /usr/pkg/lib/libwind.so.0 (0x80081b000)
     libsqlite3.so.0 => /usr/pkg/lib/libsqlite3.so.0 (0x800844000)
     libreadline.so.7 => /usr/pkg/lib/libreadline.so.7 (0x800915000)
 
 But in security/heimdal's buildlink3.mk:
 
 CHECK_BUILTIN.heimdal:=    yes
 .include "../../security/heimdal/builtin.mk"
 CHECK_BUILTIN.heimdal:=    no
 .if !empty(USE_BUILTIN.heimdal:M[nN][oO])
 .include "../../databases/sqlite3/buildlink3.mk"
 .include "../../mk/bdb.buildlink3.mk"
 .endif
 
 So there is a link to sqlite3's buildlink3.mk, but not to readline's.
 
 So should readline's buildlink3.mk be added to sqlite3's?  Or does
 every package that links in sqlite3 have to know that readline should
 be linked in as well?
 


Home | Main Index | Thread Index | Old Index