ports/math/p5-Math-GMPz/patches/patch-Makefile_PL

16 lines
334 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: Makefile.PL
--- Makefile.PL.orig
+++ Makefile.PL
@@ -117,9 +117,8 @@ my %options = (
ABSTRACT => 'Perl interface to the GMP integer functions',
DEFINE => $defines,
- LIBS => [
- $libopts
- ],
+ INC => "$ENV{CPPFLAGS}",
+ LIBS => ["$ENV{LDFLAGS} -lgmp"],
LICENSE => 'perl',
VERSION_FROM => 'GMPz.pm',