2007/7/12, Jacob Meuser <[EMAIL PROTECTED]>:
On Thu, Jul 12, 2007 at 11:30:28AM +0200, Landry Breuil wrote:
> Hello,
>
> working on various ports, i've seen that make plist puts ${BASE_PKGPATH}
in
> my PLIST / PFRAG.shared where normally there should be the package name
"in
> clear".
> Where can this come from ? Is it normal ?
look at SUBST_VARS description in bsd.port.mk(5)
> I've just updated usr.sbin/pkg_add and ports/infrastructure, doesn't
seem to
> change this.
>
> For a port installing python files in
> lib/python${MODPY_VERSION}/site-packages, i suppose i need
> MODULES=lang/python ? Does it imply RUN/BUILD_DEPENDS on python24 ?
MODULES have .mk files in ${PORTSDIR}/infrastructure/mk/
quick grep for MODULES in bsd.port.mk(5) comes up empty though. not
sure how to best describe them.
/usr/ports/infrastructure/mk/python.port.mk leads to
${PORTSDIR}/lang/python/python.port.mk, which shows MODPY_RUN_DEPENDS=
:python-${MODPY_VERSION}*:lang/python/${MODPY_VERSION}
So i think using lang/python module in a Makefile automagically sets python
as a RUN_DEPENDS :)
Landry