Re: Option in port depending on another port, how to handle ?

2010-09-16 Thread Eric Masson
Anonymous  writes:

Hello,

> 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

Well, I've upgraded to nginx-devel as the uwsgi plugin is in the base
distribution.

Don't know if having uwsgi plugin in www/nginx is desirable to a wider
audience.

I don't know if using an older revision of the uwsgi tarball would be a
major issue. If not, I could submit my first patch.

Regards

Thanks for your help

Eric Masson

-- 
 M> cliquez sur les deux première bannières dans ce site.
 M> http://www.xXxXbzz.fr/diabetique
 scientologie piege a cons
 -+- JS in GNU - La secte des mangeurs de sucre a frappé -+-
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Option in port depending on another port, how to handle ?

2010-09-12 Thread Anonymous
Eric Masson  writes:

> Anonymous  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
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Option in port depending on another port, how to handle ?

2010-09-12 Thread Dominic Fandrey
On 12/09/2010 15:23, Eric Masson wrote:
> Anonymous  writes:
>> NGINX_UWSGI_MODULE_VERSION!= ${MAKE} -V PORTVERSION -C 
>> ${PORTSDIR}/www/uwsgi
> 
> Great. Seems I really need to improve my make-fu.
> 
> Thanks for your answer.

This kind of thing can become a real performance burden if it
becomes commonly used.

Regards

-- 
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail? 
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Option in port depending on another port, how to handle ?

2010-09-12 Thread Eric Masson
Anonymous  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 ?

Regards

Éric Masson

-- 
 si tu est hacker peut tu me donner des conseil ou minicier car je
 suis debutant
 PP> Je te conseil 2 bon boukin pour comancé: Bled et Grevisse
 -+- MT In  Pas minicier, complètement sciés -+-
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Option in port depending on another port, how to handle ?

2010-09-12 Thread Eric Masson
Anonymous  writes:

Hello,

> NGINX_UWSGI_MODULE_VERSION!= ${MAKE} -V PORTVERSION -C 
> ${PORTSDIR}/www/uwsgi

Great. Seems I really need to improve my make-fu.

Thanks for your answer.

Regards

Éric Masson

-- 
 FF>Tout le plaisir est pour moi.
 FF>Vous payez par carte bancaire ?
 Non, par inadvertance.
 -+- OZ in  : Reponse hamster à terre -+-
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Option in port depending on another port, how to handle ?

2010-09-12 Thread Anonymous
Eric Masson  writes:

> Hello,
>
> I've locally added an option to www/nginx to add support for www/uwsgi.
> I'm hardcoding uwsgi version in nginx makefile :
>
> .if defined(WITH_HTTP_UWSGI_MODULE)
> NGINX_UWSGI_MODULE_VERSION= 0.9.5.3

NGINX_UWSGI_MODULE_VERSION!= ${MAKE} -V PORTVERSION -C ${PORTSDIR}/www/uwsgi

> MASTER_SITES+=  http://projects.unbit.it/downloads/:uwsgi
> DISTFILES+= uwsgi-${NGINX_UWSGI_MODULE_VERSION}.tar.gz:zip
> CONFIGURE_ARGS+=--add-module=${WRKDIR}/uwsgi-${NGINX_UWSGI_MODULE_VERSION}/nginx
> .endif
>
> Is there any proper way to retrieve NGINX_UWSGI_MODULE_VERSION from
> www/uwsgi Makefile please ?
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Option in port depending on another port, how to handle ?

2010-09-12 Thread Eric Masson
Hello,

I've locally added an option to www/nginx to add support for www/uwsgi.
I'm hardcoding uwsgi version in nginx makefile :

.if defined(WITH_HTTP_UWSGI_MODULE)
NGINX_UWSGI_MODULE_VERSION= 0.9.5.3
MASTER_SITES+=  http://projects.unbit.it/downloads/:uwsgi
DISTFILES+= uwsgi-${NGINX_UWSGI_MODULE_VERSION}.tar.gz:zip
CONFIGURE_ARGS+=--add-module=${WRKDIR}/uwsgi-${NGINX_UWSGI_MODULE_VERSION}/nginx
.endif

Is there any proper way to retrieve NGINX_UWSGI_MODULE_VERSION from
www/uwsgi Makefile please ?

Regards

Eric Masson

-- 
 Floriano veux détruire le ng , alors pour quoi ne pas le résusiter
 juste après sa destruction je m'explique il ne veux plus de ce groupe
 ben ont en recrée un nouveau du même nom
 -+- L in GNU - Neuneu fait des miracles -+-
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"