Subject: | Modification of a read-only value attempted at Makefile.PL line 144. (2.0.21) |
The Makefile.PL phase fails on FreeBSD systems. The following patch helps:
diff --git a/Makefile.PL b/Makefile.PL
index 478ac31..400fd77 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -141,7 +141,6 @@ if (! is_os_type('Windows')) {
if ($ac->link_if_else($conftest)) {
$ac->msg_result('yes');
if ($this_lib) {
- $this_lib = "-l${this_lib}";
$ac->msg_notice("Adding $this_lib to OTHERLDFLAGS");
push(@OTHERLDFLAGS, "-l${this_lib}");
}