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: Joerg Sonnenberger <joerg@britannica.bec.de>
List: pkgsrc-bugs
Date: 05/25/2007 14:05:06
The following reply was made to PR pkg/36387; it has been noted by GNATS.
From: Joerg Sonnenberger <joerg@britannica.bec.de>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/36387: mk/flavor/pkg/install-dependencies, gtk2+ and PKG_BUILD_OPTIONS
Date: Fri, 25 May 2007 16:03:04 +0200
On Fri, May 25, 2007 at 09:05:00AM +0000, Joachim König wrote:
> Using a "+" in a package name is obviously not a good idea, as
> make variable names are derived from it. In order to use the
> "+=" syntax to add a value to the list, one has to add an additional
> blank that is not necessary for normal variables.
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+. 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}