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

15 lines
381 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
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'
}