Subject: Bug in perl5/Makefile and perl58/Makefile
To: None <tech-pkg@netbsd.org>
From: Ralf-P. Weinmann <weinmann@cdc.informatik.tu-darmstadt.de>
List: tech-pkg
Date: 03/02/2004 06:59:31
Hi,
when trying to build perl5 or perl58 with DEBUG_FLAGS enabled, the following
error occurs (pkgsrc-current on SunOS 5.8):
$ bmake
bmake: "/usr/pkg/src/pkgsrc/lang/perl5/Makefile" line 195: Malformed conditional (!empty(_STRIPFLAG_INSTALL))
bmake: "/usr/pkg/src/pkgsrc/lang/perl5/Makefile" line 199: if-less endif
bmake: "/usr/pkg/src/pkgsrc/lang/perl5/Makefile" line 199: Need an operator
bmake: Fatal errors encountered -- cannot continue
bmake: stopped in /usr/pkg/src/pkgsrc/lang/perl5
$
It can be fixed by changing line 195 in perl5/Makefile (respectively line 264
in perl58/Makefile) from:
.if !empty(_STRIPFLAG_INSTALL)
to the following statement:
.if defined(_STRIPFLAG_INSTALL) && !empty(_STRIPFLAG_INSTALL)
Cheers,
Ralf
--
Ralf-P. Weinmann <weinmann@cdc.informatik.tu-darmstadt.de>
PGP fingerprint: 1024D/EF114FC02F150EB9D4F275B6159CEBEAEFCD9B06