pkgsrc-Changes archive

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

Re: CVS commit: pkgsrc



On Mon, 31 Oct 2011 07:44:11 +0900, Steven Drake <sbd%netbsd.org@localhost> 
wrote:

On Sun, 30 Oct 2011, OBATA Akio wrote:

On Sun, 30 Oct 2011 17:08:42 +0900, Steven Drake <sbd%netbsd.org@localhost> 
wrote:

> On Sat, 29 Oct 2011, OBATA Akio wrote:
>
> > For me, failed to build dbm.so in lang/python27, if gdbm package is
> > installed
> > from pkgsrc
> > on NetBSD-5.1.
>
> Any chance you have something like LIBRARY_PATH=/usr/pkg/lib in your
> environment?

No.

Dose dbm.so get built if the gdbm package is not installed?

Yes, sure.

You are using followings to determine whether ndbm.h came from gdbm or not:
  self.compler.find_library_file(lib_dirs, 'gdbm')

${LOCALBASE}/lib is added to lib_dirs, because -L${LOCALBASE}/lib is in LDFLAGS,
so gdbm from pkgsrc is also detected.

I feel it should be changed to check whether ndbm.h is a part of gdbm or not.
(with finding "gdbm" from ndbm.h?)

--
OBATA Akio / obache%NetBSD.org@localhost



Home | Main Index | Thread Index | Old Index