second question: dependancies not being checked.

Danny Pansters danny at ricin.com
Wed Jan 16 14:53:58 PST 2008


On Wednesday 16 January 2008 20:03:29 Paul Schmehl wrote:
> --On Wednesday, January 16, 2008 09:08:12 -0500 Jim Stapleton
>
> <stapleton.41 at gmail.com> wrote:
> > Sorry I tabbed in editing and managed to accidentally sent.
> >
> > Is it safe to assume that it is not bailing on the lack of this
> > library because there is no devel/py-extended-threading yet, or am I
> > missing something else.
> >
> >
> > Sorry again for the goof/double-message.
> >
> > Thank you,
> > -Jim Stapleton
> >
> >
> > Makefile:
> > ========================================
> ># New ports collection makefile for:   py-modularapp
> ># Date created:        14 Jan 2008
> ># Whom:                James Stapleton <fbsdporter at var-dev.net>
> >#
> ># $FreeBSD$
> >#
> >
> > PORTNAME=       py_modularapp
> > PORTVERSION=    0.2
> > CATEGORIES=     devel python
> > MASTER_SITES+=  http://www.var-dev.net/programming/python/modularapp/ \
> >                 http://www.var-dev.com/programming/python/modularapp/ \
> >                 http://www.var-dev.org/programming/python/modularapp/
> > DISTNAME=       py_modularapp-0.2
> >
> > MAINTAINER=     fbsdporter at var-dev.net
> > COMMENT=        A library for trivially extensible python plugins and
> > applications
> >
> > USE_PYTHON=     2.3+
> > BUILD_DEPENDS+=
> > ${PYTHON_SITELIBDIR}/extended_threading/rwrlock.py:/${PORTSDIR}/devel/py-
> >exte nded-threading
>
> .....^.....
>
> This is an error.  Should be:
> > BUILD_DEPENDS+=
>
> ${PYTHON_SITELIBDIR}/extended_threading/rwrlock.py:${PORTSDIR}/devel/py-ext
>ended-threading

Yes, and let me add to that that it's recommended to use the python PKGPREFIX 
(see /usr/ports/Mk/bsd.python.make) for this sort of port. If you use it, I 
suggest dropping the py_ in the portname as well (not required though).

Oh, and -- to be picky ;-) -- I suspect the MASTER_SITES' .net, .com, .org 
resole to the same, in which case it's better to use just one (or provide a 
second master yourself which is what I do in my ports).

Cheers,

Dan


More information about the freebsd-ports mailing list