unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* export variable CONFFLAGS
@ 2017-02-28  5:45 rennes
  2017-02-28 11:26 ` Danny Milosavljevic
  2017-03-02 15:39 ` Manolis Ragkousis
  0 siblings, 2 replies; 5+ messages in thread
From: rennes @ 2017-02-28  5:45 UTC (permalink / raw)
  To: guix-devel

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: export variable CONFFLAGS
  2017-02-28  5:45 export variable CONFFLAGS rennes
@ 2017-02-28 11:26 ` Danny Milosavljevic
  2017-03-01  0:34   ` rennes
  2017-03-02 15:39 ` Manolis Ragkousis
  1 sibling, 1 reply; 5+ messages in thread
From: Danny Milosavljevic @ 2017-02-28 11:26 UTC (permalink / raw)
  To: rennes; +Cc: guix-devel

Hi,

On Mon, 27 Feb 2017 23:45:36 -0600
rennes@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 "=".

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: export variable CONFFLAGS
  2017-02-28 11:26 ` Danny Milosavljevic
@ 2017-03-01  0:34   ` rennes
  0 siblings, 0 replies; 5+ messages in thread
From: rennes @ 2017-03-01  0:34 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: guix-devel

Hi,

On 2017-02-28 05:26, Danny Milosavljevic wrote:
> Hi,
> 
> On Mon, 27 Feb 2017 23:45:36 -0600
> rennes@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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: export variable CONFFLAGS
  2017-02-28  5:45 export variable CONFFLAGS rennes
  2017-02-28 11:26 ` Danny Milosavljevic
@ 2017-03-02 15:39 ` Manolis Ragkousis
  2017-03-03 13:00   ` rennes
  1 sibling, 1 reply; 5+ messages in thread
From: Manolis Ragkousis @ 2017-03-02 15:39 UTC (permalink / raw)
  To: rennes; +Cc: guix-devel

Hello Rene

On 02/28/2017 07:45 AM, rennes@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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: export variable CONFFLAGS
  2017-03-02 15:39 ` Manolis Ragkousis
@ 2017-03-03 13:00   ` rennes
  0 siblings, 0 replies; 5+ messages in thread
From: rennes @ 2017-03-03 13:00 UTC (permalink / raw)
  To: Manolis Ragkousis; +Cc: guix-devel

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-03-03 13:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-28  5:45 export variable CONFFLAGS rennes
2017-02-28 11:26 ` Danny Milosavljevic
2017-03-01  0:34   ` rennes
2017-03-02 15:39 ` Manolis Ragkousis
2017-03-03 13:00   ` rennes

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).