Subject: Bug in perl5/Makefile and perl58/Makefile
To: None <>
From: Ralf-P. Weinmann <>
List: tech-pkg
Date: 03/02/2004 06:59:31

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:


to the following statement:



Ralf-P. Weinmann <>
PGP fingerprint: 1024D/EF114FC02F150EB9D4F275B6159CEBEAEFCD9B06