pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

perl5



I changed the LIBS line of perl-5.8.8/ext/DB_File/Makefile.PL to read:

WriteMakefile(
        NAME            => 'DB_File',
        LIBS            => ["-Wl,-R/usr/pkg/lib -L/usr/pkg/lib $LIB"],
        MAN3PODS        => {},         # Pods will be built by installman.
        #INC            => '-I/usr/local/include',
        VERSION_FROM    => 'DB_File.pm',
        OBJECT          => 'version$(OBJ_EXT) DB_File$(OBJ_EXT)',
        XSPROTOARG      => '-noprototypes',
        DEFINE          => $OS2 || "",
        INC             => ($^O eq "MacOS" ? "-i ::::db:include" : ""),
        'depend'        => {'version$(OBJ_EXT)' => 'version.c'},
        'clean'         => {FILES => 'constants.h constants.xs'},
        );

and managed to build. Also, I was surprised to see:

Writing Makefile for Errno
../../miniperl "-I../../lib" "-I../../lib" Errno_pm.PL Errno.pm
/usr/include/sys/cdefs_elf.h:67:20: error: missing binary operator before token 
"("
cp Errno.pm ../../lib/Errno.pm
*** Error code 1 (ignored)


Cheers,

Patrick


Home | Main Index | Thread Index | Old Index