ports/math/p5-Math-GMPf/patches/patch-Makefile_PL

16 lines
461 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: Makefile.PL
--- Makefile.PL.orig
+++ Makefile.PL
@@ -106,9 +106,8 @@ my %options = (
AUTHOR => 'Sisyphus (sisyphus at (@) cpan dot (.) org)',
ABSTRACT => 'Perl interface to the GMP floating point functions',
DEFINE => $defines,
- LIBS => [
- $libopts
- ],
+ INC => "$ENV{CPPFLAGS}",
+ LIBS => ["$ENV{LDFLAGS} -lgmp"],
LICENSE => 'perl',
VERSION_FROM => 'GMPf.pm',
PREREQ_PM => {'Exporter' => '5.58', 'Test::More' => '0.88'},