On Thu, 17 Oct 2019 21:21:14 +0100
Stuart Henderson wrote:

> On 2019/10/17 10:01, Henry Jensen wrote:
> > On Wed, 16 Oct 2019 16:07:34 +0100
> > Stuart Henderson <s...@spacehopper.org> wrote:
> > 
> > > On 2019/10/16 09:04, Henry Jensen wrote:
> > > > Ping
> > > > 
> > > > On Wed, 9 Oct 2019 15:08:00 +0200
> > > > Henry Jensen <hjen...@mailbox.org> wrote:
> > > >   
> > > > > Greetings,
> > > > > 
> > > > > attached is a new port for the perl module Sys::MemInfo.
> > > > > Sys::MemInfo returns the total amount of free and used
> > > > > physical memory in bytes in totalmem and freemem variables.
> > > > > Tested on -current amd64.  
> > > 
> > > Please format Makefile and DESCR a bit nicer. Look at other ports
> > > in the tree for examples.
> > 
> > Actually, I used one of the p5-* ports as template. I made minor
> > modifications now (honoring the 72 character per line limit) and
> > compared the formatting to other ports.
> 
> That's better, this one is okay sthen@ if someone would like to
> import.

Sorry, but this module is broken because it badly computes totalmem,
see [0], where i have 16 gigs actually. I've modified Makefile.PL, so
we use the same code as NetBSD, this fixes the issue.

Also there was a trailing whitespace in DESCR. 

It works fine on macppc as well. 

I'm attaching a modified tarball.

Charlène.


[0] https://bin.charlenew.xyz/meminfo.failing.log


Attachment: p5-Sys-MemInfo.tgz
Description: Binary data

Reply via email to