Subject: Re: pkg/34548 possible solution
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Joerg Sonnenberger <joerg@britannica.bec.de>
List: pkgsrc-bugs
Date: 06/12/2007 09:15:06
The following reply was made to PR pkg/34548; it has been noted by GNATS.
From: Joerg Sonnenberger <joerg@britannica.bec.de>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/34548 possible solution
Date: Tue, 12 Jun 2007 11:12:52 +0200
On Tue, Jun 12, 2007 at 08:50:02AM +0000, Mark E. Perkins wrote:
> REQPKGS_PRINT?= tex-jadetex>=3.13 ghostscript{,-esp,-gnu}{,-nox11}>=7.05
>
>
> A few lines later (see possible patch below), the ghostscript part is expanded
> by the shell (bash) into six separate strings and pkg_info only finds one of
> them is installed, hence the failure. Patch below to escape '{' and '}' works
> here, but needs verification for other OSs.
I'd prefer to do:
REQPKG.jadetex= tex-jadetex>=3.13
REQPKG.gs= ghostscript{,-esp,-gnu}{,-nox11}>=7.05
REQPKGS_PRINT= ${REQPKG.jadetex:Q} ${REQPKG.gs:Q}
and change the loop to
for T in ${REQPKGS_PRINT}; do
Can you try that?
Joerg