freebsd-ports/math/p5-Math-Pari/files/patch-Makefile.PL
Sergey Skvortsov d42d9af630 Update to 2.01080603
Changes:	http://cpansearch.perl.org/src/ILYAZ/Math-Pari-2.01080603/Changes
PR:		ports/142001
Submitted by:	Alex Deiter <alex.deiter xx gmail.com>
2009-12-31 12:14:04 +00:00

22 lines
905 B
Raku

--- Makefile.PL.orig 2009-12-25 11:08:17.581369187 +0300
+++ Makefile.PL 2009-12-25 11:10:35.244866346 +0300
@@ -119,9 +119,9 @@
}
my %opts;
+ make_pod 'libPARI.pod', '-to_pod', $paridir; # Now the docs
unless ($common::parilib) {
build_tests $paridir; # Convert the test suite
- make_pod 'libPARI.pod', '-to_pod', $paridir; # Now the docs
make_pod 'libPARI.dumb.pod', '-to_dumb_pod', $paridir;
# ... and paricfg.h
%opts = build_paricfg($paridir, $common::do_configure, $pari_version);
@@ -176,7 +176,7 @@
# the contents of the Makefile being created.
&WriteMakefile(
LIBS => $libs,
- INC => $extra_inc . ' -I $(PARI_DIR)/src/headers -I $(PARI_DIR)/src -I ./libPARI',
+ INC => '-I$(PREFIX)/include/pari -I$(PARI_DIR)/src',
NAME => 'Math::Pari',
($common::parilib ? () :
(MYEXTLIB => 'libPARI/libPARI$(LIB_EXT)')),