openbsd-ports/math/p5-Math-GMP/patches/patch-Makefile_PL
jasper 75af53f9af - update p5-Math-GMP to 2.05
- fix license marker
2008-10-10 12:12:07 +00:00

14 lines
409 B
Plaintext

$OpenBSD: patch-Makefile_PL,v 1.4 2008/10/10 12:12:07 jasper Exp $
--- Makefile.PL.orig Fri Oct 10 13:52:55 2008
+++ Makefile.PL Fri Oct 10 13:53:31 2008
@@ -8,7 +8,8 @@ my $output = WriteMakefile
(
'NAME' => 'Math::GMP',
'VERSION_FROM' => 'lib/Math/GMP.pm',
- 'LIBS' => ['-lgmp'],
+ 'LIBS' => ["$ENV{LDFLAGS} -lgmp"],
+ 'INC' => "$ENV{CPPFLAGS}",
'NO_META' => 1,
);