23 lines
603 B
Plaintext

$OpenBSD: patch-Makefile_PL,v 1.2 2019/11/03 15:20:42 jca Exp $
Fix totalmem computation, see
https://rt.cpan.org/Public/Bug/Display.html?id=130740
Index: Makefile.PL
--- Makefile.PL.orig
+++ Makefile.PL
@@ -38,12 +38,7 @@ for ($^O) {
}
} elsif (/bsd/) {
copy ('arch/bsd.xs', 'MemInfo.xs');
- if (/netbsd/) {
- $define = '-DNETBSD';
- print "Sys::MemInfo for NetBSD\n";
- } else {
- print "Sys::MemInfo for *BSD\n";
- }
+ print "Sys::MemInfo for *BSD\n";
} elsif (/hpux/) {
copy ('arch/hpux.xs', 'MemInfo.xs');
$define ='-D_XOPEN_SOURCE_EXTENDED';