Re: export variable CONFFLAGS

2017-03-03 Thread rennes

Hello,


(arguments
 #:make-flags ("CONFFLAGS+=apr_cv_struct_ipmreq=no"
(string-append "PREFIX=" %output))


This way does not work!, the Debian project does it as follows:

ifeq (hurd,$(DEB_HOST_ARCH_OS))
  CONFFLAGS += apr_cv_struct_ipmreq=no
endif


Is '(string-append "PREFIX=" %output)' really needed?



This is no longer necessary.


Also I think CONFFLAGS is the variable debian package recipes use to
save the configuration options for that package.

Could you use #:configure-flags '("apr_cv_struct_ipmreq=no") and try 
again?


Yes, this works well.

Thanks



Re: export variable CONFFLAGS

2017-03-02 Thread Manolis Ragkousis
Hello Rene

On 02/28/2017 07:45 AM, ren...@openmailbox.org wrote:
> Hello,
> I am trying to export the variable 'CONFFLAGS' for 'apr' package on
> GNU/Hurd as follows:
> 
> (arguments
>  #:make-flags ("CONFFLAGS+=apr_cv_struct_ipmreq=no"
> (string-append "PREFIX=" %output))
> 
> 
> This way does not work!, the Debian project does it as follows:
> 
> ifeq (hurd,$(DEB_HOST_ARCH_OS))
>   CONFFLAGS += apr_cv_struct_ipmreq=no
> endif
> 
> This due to the Hurd does not support multicast yet.
> 
> Thanks

Is '(string-append "PREFIX=" %output)' really needed?

Also I think CONFFLAGS is the variable debian package recipes use to
save the configuration options for that package.

Could you use #:configure-flags '("apr_cv_struct_ipmreq=no") and try again?

Thank you
Manolis




Re: export variable CONFFLAGS

2017-02-28 Thread rennes

Hi,

On 2017-02-28 05:26, Danny Milosavljevic wrote:

Hi,

On Mon, 27 Feb 2017 23:45:36 -0600
ren...@openmailbox.org wrote:


Hello,
I am trying to export the variable 'CONFFLAGS' for 'apr' package on
GNU/Hurd as follows:

(arguments
  #:make-flags ("CONFFLAGS+=apr_cv_struct_ipmreq=no"
 (string-append "PREFIX=" %output))


This way does not work!


Why "+=" ? Just use "=".


I think it's cumulative, but I'll try as you mention.
Thanks



Re: export variable CONFFLAGS

2017-02-28 Thread Danny Milosavljevic
Hi,

On Mon, 27 Feb 2017 23:45:36 -0600
ren...@openmailbox.org wrote:

> Hello,
> I am trying to export the variable 'CONFFLAGS' for 'apr' package on 
> GNU/Hurd as follows:
> 
> (arguments
>   #:make-flags ("CONFFLAGS+=apr_cv_struct_ipmreq=no"
>  (string-append "PREFIX=" %output))
> 
> 
> This way does not work!

Why "+=" ? Just use "=".



export variable CONFFLAGS

2017-02-27 Thread rennes

Hello,
I am trying to export the variable 'CONFFLAGS' for 'apr' package on 
GNU/Hurd as follows:


(arguments
 #:make-flags ("CONFFLAGS+=apr_cv_struct_ipmreq=no"
(string-append "PREFIX=" %output))


This way does not work!, the Debian project does it as follows:

ifeq (hurd,$(DEB_HOST_ARCH_OS))
  CONFFLAGS += apr_cv_struct_ipmreq=no
endif

This due to the Hurd does not support multicast yet.

Thanks