ports/databases/p5-GDBM_File/patches/patch-Makefile_PL

14 lines
488 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
--- Makefile.PL.orig Wed May 13 22:19:29 2015
+++ Makefile.PL Fri Jun 19 10:12:50 2015
@@ -1,8 +1,9 @@
use ExtUtils::MakeMaker;
use ExtUtils::Constant 0.11 'WriteConstants';
+my $LOCALBASE=$ENV{'LOCALBASE'};
WriteMakefile(
NAME => 'GDBM_File',
- LIBS => ["-lgdbm", "-ldbm"],
+ LIBS => ["-L$LOCALBASE/lib -lgdbm", "-ldbm"],
XSPROTOARG => '-noprototypes', # XXX remove later?
VERSION_FROM => 'GDBM_File.pm',
realclean => {FILES=> 'const-c.inc const-xs.inc'},