Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Sep 2010 17:48:21 +0400
From:      Anonymous <swell.k@gmail.com>
To:        Eric Masson <emss@free.fr>
Cc:        Mailing List FreeBSD Ports <freebsd-ports@FreeBSD.org>
Subject:   Re: Option in port depending on another port, how to handle ?
Message-ID:  <86hbhvgjiy.fsf@gmail.com>
In-Reply-To: <86zkvn5brs.fsf@srvbsdfenssv.interne.associated-bears.org> (Eric Masson's message of "Sun, 12 Sep 2010 15:31:19 %2B0200")
References:  <868w376t0f.fsf@srvbsdfenssv.interne.associated-bears.org> <86r5gzi1cx.fsf@gmail.com> <86zkvn5brs.fsf@srvbsdfenssv.interne.associated-bears.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Eric Masson <emss@free.fr> writes:

> Anonymous <swell.k@gmail.com> writes:
>
> Hello again,
>
>> NGINX_UWSGI_MODULE_VERSION!=     ${MAKE} -V PORTVERSION -C ${PORTSDIR}/www/uwsgi
>
> Subsidiary question, as uwsgi nginx module needs uwsgi tarball, nginx
> distinfo must contain related checksums & size.
>
> Is there any way to avoid duplicating distinfo entries in both ports ?

Why not extract it as a dependency then?

  .if defined(WITH_HTTP_UWSGI_MODULE)
  CONFIGURE_ARGS+= --add-module=${UWSGI_WRKSRC}/nginx
  BUILD_DEPENDS+=  ${NONEXISTENT}:${PORTSDIR}/www/uwsgi:patch
  UWSGI_WRKSRC!=   ${MAKE} -V WRKSRC -C ${PORTSDIR}/www/uwsgi
  .endif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86hbhvgjiy.fsf>