openbsd-ports/math/p5-Math-GMP/patches/patch-Makefile_PL

12 lines
453 B
Plaintext

$OpenBSD: patch-Makefile_PL,v 1.2 2002/09/21 11:59:39 avsm Exp $
--- Makefile.PL.orig Mon Feb 18 02:39:39 2002
+++ Makefile.PL Wed Sep 18 10:57:43 2002
@@ -5,6 +5,6 @@ use ExtUtils::MakeMaker;
WriteMakefile(
'NAME' => 'Math::GMP',
'VERSION_FROM' => 'lib/Math/GMP.pm', # finds $VERSION
- 'LIBS' => ['-lgmp'], # e.g., '-lm'
+ 'LIBS' => ["$ENV{LDFLAGS} -lgmp"], # e.g., '-lm'
'DEFINE' => '', # e.g., '-DHAVE_SOMETHING'
);