Subject: Re: pkg/36387: mk/flavor/pkg/install-dependencies, gtk2+ and PKG_BUILD_OPTIONS
To: None <joerg@NetBSD.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org,>
From: =?ISO-8859-15?Q?Joachim_K=F6nig?= <him@online.de>
List: pkgsrc-bugs
Date: 05/25/2007 15:05:03
The following reply was made to PR pkg/36387; it has been noted by GNATS.

From: =?ISO-8859-15?Q?Joachim_K=F6nig?= <him@online.de>
To: gnats-bugs@NetBSD.org
Cc: joerg@NetBSD.org
Subject: Re: pkg/36387: mk/flavor/pkg/install-dependencies, gtk2+ and PKG_BUILD_OPTIONS
Date: Fri, 25 May 2007 17:03:54 +0200

 Joerg Sonnenberger wrote:
 >  The problem is not the package name, but the variable name. It
 >  essentially ends up as calling "make FOO+=bar", which does *not* set
 >  FOO+.
 But "make PKG_OPTIONS.gtk2+=cups\ x11" also gets confused by the escaped 
 blank after "cups"
 and takes "x11" as a make target while it seems to be no problem for 
 other multi valued variables.
 
 I checked my settings again, and the variable was already renamed to 
 PKG_OPTIONS.gtk2
 and I have "PKG_OPTIONS.gtk2= cups" in my mk.conf. I'm a bit confused 
 ATM about where the
 "+=" comes from.
 >  I will fix it by renaming the variable, but I want to ask you to
 >  check whether it was silently ignored before.
 >  
 >  Can you add the following rule to Firefox's make file with a checkout of
 >  pkgsrc/mk from May 20? cvs up -D is your friend, reset it afterwards
 >  with cvs up -A.
 >  
 >  do-build:
 >  	@echo ${MAKEFLAGS}
 >  
 >   
 Yes, output is:
 
  _MAKE=/usr/bin/make OPSYS=NetBSD OS_VERSION=4.99.19 
 LOWER_OS_VERSION=4.99.19 LOWER_OPSYS=netbsd 
 _PKGSRCDIR=/user/unix/NetBSD/NetBSD-current/pkgsrc 
 PKGTOOLS_VERSION=20070416 PKG_BUILD_OPTIONS.gtk2+=cups x11 
 PKG_BUILD_OPTIONS.pango=x11 PKG_BUILD_OPTIONS.cairo=x11 _CC=/usr/bin/cc 
 _PATH_ORIG=/usr/pkg/bin:/usr/pkg/sbin:/usr/sbin:/sbin:/home/joachim/bin:/usr/bin:/bin:/usr/local/bin
 
 So, there is no difference between today and 20070520.
 
 Joachim