Files
pkgsrc-ng/math/p5-Math-BigInt-GMP/patches/patch-aa
2016-11-18 22:39:22 +01:00

16 lines
504 B
Plaintext

$NetBSD: patch-aa,v 1.5 2016/08/09 00:01:14 wen Exp $
Trick perl into emitting use of -lgmp. Actual library
location will be handled via buildlink / wrapper.
--- Makefile.PL.orig 2016-08-08 23:57:46.000000000 +0000
+++ Makefile.PL
@@ -33,6 +33,6 @@ WriteMakefile
TEST_REQUIRES => {
Test::More => 0.47,
},
- 'LIBS' => ['-lgmp'],
+ 'LIBS' => ["-L$ENV{PREFIX}/lib -lgmp"],
'SIGN' => 1,
);