Subject: Re: pkg_info used wrong
To: None <tech-pkg@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 11/23/2007 19:40:42
> bmake:
> "../../mk/wrapper/../../mk/buildlink3/../../mk/wrapper/../../mk/buildlink3/bsd.buildlink3.mk"
> line 48: warning: Couldn't read shell's output for "true Computing
> BUILDLINK_PREFIX.pthread; /usr/sbin/pkg_info -K .
> -qp | /bin/sed -e "s,^[^/]*,,;q""
I should have mentioned my LOCALBASE is /usr.
My workaround for this is now in my mk.conf:
PREFER_NATIVE_PTHREADS= no
_PKG_PTHREAD?= glibc
_PKG_PTHREAD_DEPENDS?= glibc>=2.3.0
_PKG_PTHREAD_PKGSRCDIR?= ../../wip/${_PKG_PTHREAD}
_PKG_PTHREAD_BUILDLINK3_MK?= ${_PKG_PTHREAD_PKGSRCDIR}/buildlink3.mk
(That buildlink3.mk is not committed yet.)
Does anyone have ideas on how to do this properly for pkgsrc? Also for
getopt, dlopen, and others that can use the glibc package?