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

14 lines
381 B
Text

Index: Random/Makefile.PL
--- Random/Makefile.PL.orig
+++ Random/Makefile.PL
@@ -11,8 +11,8 @@ my %options = %{
'../typemap'
],
'NAME' => 'Math::GMPf::Random',
- 'LIBS' => $LIBS,
- 'INC' => $INC,
+ 'LIBS' => "$ENV{LDFLAGS} -lgmp",
+ 'INC' => "$ENV{CPPFLAGS}",
'DEFINE' => $DEFS,
'VERSION_FROM' => 'Random.pm'
}