pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/48479 ([PATCH] ghostscript-cidfonts doesn't switch correctly ghostscript-agpl and -gpl)
The following reply was made to PR pkg/48479; it has been noted by GNATS.
From: "OBATA Akio" <obache%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/48479 ([PATCH] ghostscript-cidfonts doesn't switch correctly
ghostscript-agpl and -gpl)
Date: Sun, 12 Jan 2014 18:25:55 +0900
On Sun, 12 Jan 2014 12:25:00 +0900, Makoto Fujiwara <makoto%ki.nu@localhost>
wrote:
> > make: "/usr/pkgsrc/fonts/ghostscript-cidfonts/Makefile" line 29:
> > Malformed conditional (!empty(PKG_OPTIONS.gs_type:Mghostscript-agpl))
> I was trying to reproduce above, but not succeeded yet.
> Would you help me to reproduce ? (OS, /etc/mk.conf or so, and installed
> package related to ghostscript and fonts/adobe* ).
Because it is not defined yet.
Please try to do old bmake (in NetBSD-5), or put PKG_OPTIONS.gs_type in
/etc/mk.conf.
Former will be error, and later will not work as expected.
Newer bmake recognize that not yet defined variable as empty, but old bmake
does not.
Many people think that it is improvement, but I fee it is a regression,
because this kind of failure will not be caught.
You must include bsd.prefs.mk before using configuration switch.
Even if it is included, following case is not handled well:
* PKG_DEFAULT_OPTIONS= ghostscript-agpl
* installed binary of ghostscript is configured as ghostscript-agpl,
but mk.conf is not
--
OBATA Akio / obache%NetBSD.org@localhost
Home |
Main Index |
Thread Index |
Old Index