small issue in port databases/p5-GDBM

Matthias Apitz guru at
Tue Jan 5 08:06:00 UTC 2016


I need the above port to build a small Ddbm database and it seems that
there is a small issue; it can be triggered with this perl code:

require GDBM_File;

which gives:

$ ./ 
String found where operator expected at
/usr/local/lib/perl5/site_perl/mach/5.20/ line 74, near
"XSLoader::load 'GDBM_File'"
	(Do you need to predeclare XSLoader::load?)
syntax error at /usr/local/lib/perl5/site_perl/mach/5.20/
line 75, near "XSLoader::load 'GDBM_File'"
Compilation failed in require at ./ line 3.

the mentioned line in is:

XSLoader::load 'GDBM_File', $VERSION;

If one adds a line of

use XSLoader;
XSLoader::load 'GDBM_File', $VERSION;

it works fine.

I'm not a perl expert (and not subscribed to perl at
and don't know if this is the right fix. Should I file a bugzilla issue?
This is with ports from head of December, 30.


Matthias Apitz, ✉ guru at, 🌐  ☎ +49-176-38902045

More information about the freebsd-questions mailing list