openbsd-ports/math/p5-Math-BigInt-GMP/patches/patch-Makefile_PL
steven 5dc91bf078 import Math::BigInt::GMP 1.18
use the GMP library for Math::BigInt routines.

submitted and maintained by Chris Humphries <chris at unixfu.net>
2006-07-10 15:33:58 +00:00

12 lines
386 B
Plaintext

$OpenBSD: patch-Makefile_PL,v 1.1.1.1 2006/07/10 15:33:58 steven Exp $
--- Makefile.PL.orig Sun Apr 10 12:20:17 2005
+++ Makefile.PL Mon Jul 10 16:57:51 2006
@@ -35,5 +35,6 @@ WriteMakefile(
Math::BigInt => 1.76,
XSLoader => 0.02,
},
- 'LIBS' => ['-lgmp'], # e.g., '-lm'
+ 'LIBS' => ["$ENV{LDFLAGS} -lgmp"], # e.g., '-lm'
+ 'INC' => "$ENV{CPPFLAGS}",
);